ANDROID: Fix compilation broken with changes to grabOverlay.
This commit is contained in:
parent
9701094fcd
commit
0a26f7084f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue