From e06b7431e8e199c169dd55b675bf7b8e70251e61 Mon Sep 17 00:00:00 2001 From: dhewg Date: Fri, 25 Feb 2011 00:06:18 +0100 Subject: ANDROID: Remove weird workaround in clearScreen() This resulted in flickering all over the GUI --- backends/platform/android/gfx.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'backends/platform/android') diff --git a/backends/platform/android/gfx.cpp b/backends/platform/android/gfx.cpp index a84e5ce4a0..35c91d724c 100644 --- a/backends/platform/android/gfx.cpp +++ b/backends/platform/android/gfx.cpp @@ -362,8 +362,9 @@ void OSystem_Android::clearOverlay() { _overlay_texture->fillBuffer(0); + // breaks more than it fixes, disabled for now // Shouldn't need this, but works around a 'blank screen' bug on Nexus1 - updateScreen(); + //updateScreen(); } void OSystem_Android::grabOverlay(OverlayColor *buf, int pitch) { -- cgit v1.2.3