aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/android/gfx.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2012-06-20 17:31:10 +0200
committerJohannes Schickel2012-06-20 17:31:10 +0200
commit0a26f7084f8df9d0cb65a94a45942796ba5e4d56 (patch)
tree7ee9ef5073396aa2ddee2e87f7e2badc8642fcaa /backends/platform/android/gfx.cpp
parent9701094fcd7709072c0893cba26282781087ea29 (diff)
downloadscummvm-rg350-0a26f7084f8df9d0cb65a94a45942796ba5e4d56.tar.gz
scummvm-rg350-0a26f7084f8df9d0cb65a94a45942796ba5e4d56.tar.bz2
scummvm-rg350-0a26f7084f8df9d0cb65a94a45942796ba5e4d56.zip
ANDROID: Fix compilation broken with changes to grabOverlay.
Diffstat (limited to 'backends/platform/android/gfx.cpp')
-rw-r--r--backends/platform/android/gfx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/android/gfx.cpp b/backends/platform/android/gfx.cpp
index 44046cb1c1..cd0fd88484 100644
--- a/backends/platform/android/gfx.cpp
+++ b/backends/platform/android/gfx.cpp
@@ -642,7 +642,7 @@ void OSystem_Android::grabOverlay(void *buf, int pitch) {
GLTHREADCHECK;
const Graphics::Surface *surface = _overlay_texture->surface_const();
- assert(surface->format.bytesPerPixel == sizeof(buf[0]));
+ assert(surface->format.bytesPerPixel == sizeof(uint16));
byte *dst = (byte *)buf;
const byte *src = (const byte *)surface->pixels;