mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-05 01:38:36 +00:00
ANDROID: Fix compilation broken with changes to grabOverlay.
This commit is contained in:
parent
9701094fcd
commit
0a26f7084f
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user