From a913d360f27f300633a8da5997686343e95e56a3 Mon Sep 17 00:00:00 2001 From: dhewg Date: Fri, 4 Mar 2011 21:41:55 +0100 Subject: ANDROID: Clear game texture on initSize() Gets rid of leftovers --- backends/platform/android/gfx.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'backends/platform/android') 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; -- cgit v1.2.3