From 093b74e40541842e4f385f92a75e9eee93a24c2d Mon Sep 17 00:00:00 2001 From: dhewg Date: Wed, 16 Mar 2011 23:55:54 +0100 Subject: ANDROID: Disable game/overlay blending Doesn't work on some drivers, need to do it differently --- backends/platform/android/gfx.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'backends/platform') diff --git a/backends/platform/android/gfx.cpp b/backends/platform/android/gfx.cpp index fc45f4c9e1..d7e31fcad7 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; -- cgit v1.2.3