ANDROID: Fix compilation broken with changes to grabOverlay.

This commit is contained in:
Johannes Schickel 2012-06-20 17:31:10 +02:00
parent 9701094fcd
commit 0a26f7084f

View File

@ -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;