From 2e80621a1e0637ed7f1ebb097503eda5ef6f1544 Mon Sep 17 00:00:00 2001 From: David Capello Date: Fri, 24 Aug 2012 10:25:19 -0300 Subject: [PATCH] Fix issues #163 and #165. The ui::dirty_display_flag is not working as expected. --- src/modules/gui.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/gui.cpp b/src/modules/gui.cpp index a1144e756..5e6e11036 100644 --- a/src/modules/gui.cpp +++ b/src/modules/gui.cpp @@ -311,8 +311,10 @@ void gui_feedback() ui::UpdateCursorOverlay(); // Avoid updating a non-dirty screen over and over again. +#if 0 // It doesn't work if (!dirty_display_flag) return; +#endif // Draw overlays. overlays->captureOverlappedAreas();