aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authordhewg2011-03-04 21:41:55 +0100
committerdhewg2011-03-04 21:41:55 +0100
commita913d360f27f300633a8da5997686343e95e56a3 (patch)
treeaca831453b8ce990187f699a57c788510df1820e /backends
parentf639466ab2417cb8b6052b362b7d624ea739fc8b (diff)
downloadscummvm-rg350-a913d360f27f300633a8da5997686343e95e56a3.tar.gz
scummvm-rg350-a913d360f27f300633a8da5997686343e95e56a3.tar.bz2
scummvm-rg350-a913d360f27f300633a8da5997686343e95e56a3.zip
ANDROID: Clear game texture on initSize()
Gets rid of leftovers
Diffstat (limited to 'backends')
-rw-r--r--backends/platform/android/gfx.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/platform/android/gfx.cpp b/backends/platform/android/gfx.cpp
index 6c2208fd6f..c71ee178ee 100644
--- a/backends/platform/android/gfx.cpp
+++ b/backends/platform/android/gfx.cpp
@@ -152,6 +152,7 @@ void OSystem_Android::initSize(uint width, uint height,
GLTHREADCHECK;
_game_texture->allocBuffer(width, height);
+ _game_texture->fillBuffer(0);
int overlay_width = _egl_surface_width;
int overlay_height = _egl_surface_height;