mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-27 18:20:27 +00:00
win98: fix core video graphics corruption\nbitmapinfoheader size should never include masks, but this is undocumented
This commit is contained in:
parent
85e2a11845
commit
5e3531a5f2
@ -239,7 +239,7 @@ static bool gdi_gfx_frame(void *data, const void *frame,
|
||||
info->bmiHeader.biWidth = pitch / (bits / 8);
|
||||
info->bmiHeader.biHeight = -height;
|
||||
info->bmiHeader.biPlanes = 1;
|
||||
info->bmiHeader.biSize = sizeof(BITMAPINFOHEADER) + (3 * sizeof(RGBQUAD));
|
||||
info->bmiHeader.biSize = sizeof(BITMAPINFOHEADER);
|
||||
info->bmiHeader.biSizeImage = 0;
|
||||
|
||||
if (bits == 16)
|
||||
|
Loading…
Reference in New Issue
Block a user