diff options
author | dhewg | 2011-03-01 22:16:10 +0100 |
---|---|---|
committer | dhewg | 2011-03-02 23:18:34 +0100 |
commit | bd7e3e9bb20dada6d40143557c473fabd373b5ed (patch) | |
tree | 4c989d3127ed45473689d460ff5618c538f604ff /backends/platform/android/gfx.cpp | |
parent | 2333a32697cda8f5f73861856889001839f38f25 (diff) | |
download | scummvm-rg350-bd7e3e9bb20dada6d40143557c473fabd373b5ed.tar.gz scummvm-rg350-bd7e3e9bb20dada6d40143557c473fabd373b5ed.tar.bz2 scummvm-rg350-bd7e3e9bb20dada6d40143557c473fabd373b5ed.zip |
ANDROID: cleanup
Diffstat (limited to 'backends/platform/android/gfx.cpp')
-rw-r--r-- | backends/platform/android/gfx.cpp | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/backends/platform/android/gfx.cpp b/backends/platform/android/gfx.cpp index 49f3d40e39..7fbe896d82 100644 --- a/backends/platform/android/gfx.cpp +++ b/backends/platform/android/gfx.cpp @@ -128,8 +128,8 @@ void OSystem_Android::initSize(uint width, uint height, _game_texture->allocBuffer(width, height); - GLuint overlay_width = _egl_surface_width; - GLuint overlay_height = _egl_surface_height; + int overlay_width = _egl_surface_width; + int overlay_height = _egl_surface_height; // the 'normal' theme layout uses a max height of 400 pixels. if the // surface is too big we use only a quarter of the size so that the widgets @@ -290,13 +290,8 @@ void OSystem_Android::updateScreen() { int res = JNI::swapBuffers(); - if (res) { + if (res) warning("swapBuffers returned 0x%x", res); -#if 0 - JNI::initSurface(); - setupSurface(); -#endif - } } Graphics::Surface *OSystem_Android::lockScreen() { |