From 0adfe7296664b2bd7edaf9b1e351c069631addc4 Mon Sep 17 00:00:00 2001 From: dhewg Date: Tue, 5 Apr 2011 15:14:58 +0200 Subject: ANDROID: Remove commented workarounds for Nexus 1 Reports suggest that its working and not required --- backends/platform/android/gfx.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'backends') diff --git a/backends/platform/android/gfx.cpp b/backends/platform/android/gfx.cpp index 19cfd7f5a3..ea0f556364 100644 --- a/backends/platform/android/gfx.cpp +++ b/backends/platform/android/gfx.cpp @@ -617,10 +617,6 @@ void OSystem_Android::clearOverlay() { GLTHREADCHECK; _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(); } void OSystem_Android::grabOverlay(OverlayColor *buf, int pitch) { @@ -650,9 +646,6 @@ void OSystem_Android::copyRectToOverlay(const OverlayColor *buf, int pitch, // This 'pitch' is pixels not bytes _overlay_texture->updateBuffer(x, y, w, h, buf, pitch * sizeof(buf[0])); - - // Shouldn't need this, but works around a 'blank screen' bug on Nexus1? - //updateScreen(); } int16 OSystem_Android::getOverlayHeight() { -- cgit v1.2.3