mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-23 10:19:27 +00:00
TSAGE: Properly setup the pixel format in GfxSurface::lockSurface.
This commit is contained in:
parent
c3669443ec
commit
9bc39fc761
@ -283,6 +283,7 @@ Graphics::Surface GfxSurface::lockSurface() {
|
||||
result.h = _bounds.height();
|
||||
result.pitch = src->pitch;
|
||||
result.bytesPerPixel = src->bytesPerPixel;
|
||||
result.format = src->format;
|
||||
result.pixels = src->getBasePtr(_bounds.left, _bounds.top);
|
||||
|
||||
return result;
|
||||
|
Loading…
Reference in New Issue
Block a user