aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/android
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/android')
-rw-r--r--backends/platform/android/gfx.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/backends/platform/android/gfx.cpp b/backends/platform/android/gfx.cpp
index dfab8255ae..d08cc631bf 100644
--- a/backends/platform/android/gfx.cpp
+++ b/backends/platform/android/gfx.cpp
@@ -442,6 +442,9 @@ void OSystem_Android::updateScreen() {
GLCALL(glTranslatex(0, -_shake_offset << 16, 0));
}
+ if (_show_overlay)
+ GLCALL(glColor4ub(0x9f, 0x9f, 0x9f, 0x9f));
+
if (_focus_rect.isEmpty()) {
_game_texture->drawTextureRect();
} else {
@@ -462,6 +465,8 @@ void OSystem_Android::updateScreen() {
int cs = _mouse_targetscale;
if (_show_overlay) {
+ GLCALL(glColor4ub(0xff, 0xff, 0xff, 0xff));
+
// ugly, but the modern theme sets a wacko factor, only god knows why
cs = 1;