diff options
author | dhewg | 2011-03-16 23:55:54 +0100 |
---|---|---|
committer | dhewg | 2011-03-16 23:57:00 +0100 |
commit | 093b74e40541842e4f385f92a75e9eee93a24c2d (patch) | |
tree | c4fa6025e03b902ab2adccd35e915992b3f0bc67 /backends/platform/android/gfx.cpp | |
parent | 53426e6ed761808420f8b153fa7ceba5bdf010a0 (diff) | |
download | scummvm-rg350-093b74e40541842e4f385f92a75e9eee93a24c2d.tar.gz scummvm-rg350-093b74e40541842e4f385f92a75e9eee93a24c2d.tar.bz2 scummvm-rg350-093b74e40541842e4f385f92a75e9eee93a24c2d.zip |
ANDROID: Disable game/overlay blending
Doesn't work on some drivers, need to do it differently
Diffstat (limited to 'backends/platform/android/gfx.cpp')
-rw-r--r-- | backends/platform/android/gfx.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
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; |