aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/android/gfx.cpp
diff options
context:
space:
mode:
authordhewg2011-03-14 18:58:33 +0100
committerdhewg2011-03-14 19:35:36 +0100
commit6389e70e45864aaec860481cc25208f1a9ca4a76 (patch)
tree04839d9e51f8d3280ad835b737c915f4401ba508 /backends/platform/android/gfx.cpp
parent5b94159f40fba8edaf15bf8961c479898646eb2d (diff)
downloadscummvm-rg350-6389e70e45864aaec860481cc25208f1a9ca4a76.tar.gz
scummvm-rg350-6389e70e45864aaec860481cc25208f1a9ca4a76.tar.bz2
scummvm-rg350-6389e70e45864aaec860481cc25208f1a9ca4a76.zip
ANDROID: Remove clearBuffer()
Not required. Why did i add that again?
Diffstat (limited to 'backends/platform/android/gfx.cpp')
-rw-r--r--backends/platform/android/gfx.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/backends/platform/android/gfx.cpp b/backends/platform/android/gfx.cpp
index 2a66fcf247..dfab8255ae 100644
--- a/backends/platform/android/gfx.cpp
+++ b/backends/platform/android/gfx.cpp
@@ -146,7 +146,7 @@ void OSystem_Android::initTexture(GLESBaseTexture **texture,
}
(*texture)->allocBuffer(width, height);
- (*texture)->clearBuffer();
+ (*texture)->fillBuffer(0);
}
#endif
@@ -253,7 +253,7 @@ void OSystem_Android::initOverlay() {
LOGI("overlay size is %ux%u", overlay_width, overlay_height);
_overlay_texture->allocBuffer(overlay_width, overlay_height);
- _overlay_texture->clearBuffer();
+ _overlay_texture->fillBuffer(0);
_overlay_texture->setDrawRect(0, 0,
_egl_surface_width, _egl_surface_height);
}
@@ -268,7 +268,7 @@ void OSystem_Android::initSize(uint width, uint height,
initTexture(&_game_texture, width, height, format);
#else
_game_texture->allocBuffer(width, height);
- _game_texture->clearBuffer();
+ _game_texture->fillBuffer(0);
#endif
updateScreenRect();
@@ -726,7 +726,7 @@ void OSystem_Android::setMouseCursor(const byte *buf, uint w, uint h,
delete[] tmp;
- _mouse_texture->clearBuffer();
+ _mouse_texture->fillBuffer(0);
return;
}