aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/android/gfx.cpp
diff options
context:
space:
mode:
authordhewg2011-03-13 22:56:44 +0100
committerdhewg2011-03-13 23:30:17 +0100
commitc63c2a9e59ab9f9013a5e0e1f6c443352ce4f20f (patch)
treee6ad3c3528a0285f5f80f77e206b80b119d4ed59 /backends/platform/android/gfx.cpp
parent2dd669d808b89f0d3777d196091b404a4e9baf05 (diff)
downloadscummvm-rg350-c63c2a9e59ab9f9013a5e0e1f6c443352ce4f20f.tar.gz
scummvm-rg350-c63c2a9e59ab9f9013a5e0e1f6c443352ce4f20f.tar.bz2
scummvm-rg350-c63c2a9e59ab9f9013a5e0e1f6c443352ce4f20f.zip
ANDROID: Fix texture clear color
Diffstat (limited to 'backends/platform/android/gfx.cpp')
-rw-r--r--backends/platform/android/gfx.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/platform/android/gfx.cpp b/backends/platform/android/gfx.cpp
index 20534331bc..332442345c 100644
--- a/backends/platform/android/gfx.cpp
+++ b/backends/platform/android/gfx.cpp
@@ -143,7 +143,7 @@ void OSystem_Android::initTexture(GLESBaseTexture **texture,
}
(*texture)->allocBuffer(width, height);
- (*texture)->fillBuffer(0);
+ (*texture)->clearBuffer();
}
#endif
@@ -264,7 +264,7 @@ void OSystem_Android::initSize(uint width, uint height,
initTexture(&_game_texture, width, height, format);
#else
_game_texture->allocBuffer(width, height);
- _game_texture->fillBuffer(0);
+ _game_texture->clearBuffer();
#endif
updateScreenRect();
@@ -686,7 +686,7 @@ void OSystem_Android::setMouseCursor(const byte *buf, uint w, uint h,
delete[] tmp;
- _mouse_texture->fillBuffer(0);
+ _mouse_texture->clearBuffer();
return;
}