[Scummvm-cvs-logs] scummvm master -> 0adfe7296664b2bd7edaf9b1e351c069631addc4

dhewg dhewg at wiibrew.org
Tue Apr 5 15:17:29 CEST 2011


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
0adfe72966 ANDROID: Remove commented workarounds for Nexus 1


Commit: 0adfe7296664b2bd7edaf9b1e351c069631addc4
    https://github.com/scummvm/scummvm/commit/0adfe7296664b2bd7edaf9b1e351c069631addc4
Author: dhewg (dhewg at wiibrew.org)
Date: 2011-04-05T06:16:07-07:00

Commit Message:
ANDROID: Remove commented workarounds for Nexus 1

Reports suggest that its working and not required

Changed paths:
    backends/platform/android/gfx.cpp



diff --git a/backends/platform/android/gfx.cpp b/backends/platform/android/gfx.cpp
index 19cfd7f..ea0f556 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() {






More information about the Scummvm-git-logs mailing list