[Scummvm-cvs-logs] scummvm master -> 093b74e40541842e4f385f92a75e9eee93a24c2d

dhewg dhewg at wiibrew.org
Wed Mar 16 23:57:50 CET 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:
093b74e405 ANDROID: Disable game/overlay blending


Commit: 093b74e40541842e4f385f92a75e9eee93a24c2d
    https://github.com/scummvm/scummvm/commit/093b74e40541842e4f385f92a75e9eee93a24c2d
Author: dhewg (dhewg at wiibrew.org)
Date: 2011-03-16T15:57:00-07:00

Commit Message:
ANDROID: Disable game/overlay blending

Doesn't work on some drivers, need to do it differently

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



diff --git a/backends/platform/android/gfx.cpp b/backends/platform/android/gfx.cpp
index fc45f4c..d7e31fc 100644
--- a/backends/platform/android/gfx.cpp
+++ b/backends/platform/android/gfx.cpp
@@ -442,8 +442,9 @@ void OSystem_Android::updateScreen() {
 		GLCALL(glTranslatex(0, -_shake_offset << 16, 0));
 	}
 
-	if (_show_overlay)
-		GLCALL(glColor4ub(0x9f, 0x9f, 0x9f, 0x9f));
+// TODO this doesnt work on those sucky drivers, do it differently
+//	if (_show_overlay)
+//		GLCALL(glColor4ub(0x9f, 0x9f, 0x9f, 0x9f));
 
 	if (_focus_rect.isEmpty()) {
 		_game_texture->drawTextureRect();
@@ -467,7 +468,8 @@ void OSystem_Android::updateScreen() {
 	int cs = _mouse_targetscale;
 
 	if (_show_overlay) {
-		GLCALL(glColor4ub(0xff, 0xff, 0xff, 0xff));
+// TODO see above
+//		GLCALL(glColor4ub(0xff, 0xff, 0xff, 0xff));
 
 		// ugly, but the modern theme sets a wacko factor, only god knows why
 		cs = 1;






More information about the Scummvm-git-logs mailing list