diff options
author | Johannes Schickel | 2012-06-20 17:31:10 +0200 |
---|---|---|
committer | Johannes Schickel | 2012-06-20 17:31:10 +0200 |
commit | 0a26f7084f8df9d0cb65a94a45942796ba5e4d56 (patch) | |
tree | 7ee9ef5073396aa2ddee2e87f7e2badc8642fcaa /backends/platform/android/gfx.cpp | |
parent | 9701094fcd7709072c0893cba26282781087ea29 (diff) | |
download | scummvm-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.cpp | 2 |
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; |