mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-19 08:25:35 +00:00
VKEYBD: Support RGB332 backing surface
This is efficient on rs90
This commit is contained in:
parent
2149d3814b
commit
96cbe69d1e
@ -74,7 +74,9 @@ static void blit(Graphics::Surface *surf_dst, Graphics::Surface *surf_src, int16
|
||||
if (surf_dst->format.bytesPerPixel != surf_src->format.bytesPerPixel)
|
||||
return;
|
||||
|
||||
if (surf_dst->format.bytesPerPixel == 2)
|
||||
if (surf_dst->format.bytesPerPixel == 1)
|
||||
blitImplementation<uint8>(surf_dst, surf_src, x, y, transparent);
|
||||
else if (surf_dst->format.bytesPerPixel == 2)
|
||||
blitImplementation<uint16>(surf_dst, surf_src, x, y, transparent);
|
||||
else if (surf_dst->format.bytesPerPixel == 4)
|
||||
blitImplementation<uint32>(surf_dst, surf_src, x, y, transparent);
|
||||
|
Loading…
x
Reference in New Issue
Block a user