Fix issues #163 and #165.

The ui::dirty_display_flag is not working as expected.
This commit is contained in:
David Capello 2012-08-24 10:25:19 -03:00
parent d97c2d6f98
commit 2e80621a1e

View File

@ -311,8 +311,10 @@ void gui_feedback()
ui::UpdateCursorOverlay(); ui::UpdateCursorOverlay();
// Avoid updating a non-dirty screen over and over again. // Avoid updating a non-dirty screen over and over again.
#if 0 // It doesn't work
if (!dirty_display_flag) if (!dirty_display_flag)
return; return;
#endif
// Draw overlays. // Draw overlays.
overlays->captureOverlappedAreas(); overlays->captureOverlappedAreas();