mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +01:00
Start colors from zero index in GDI, dunno how it worked before
This commit is contained in:
parent
c69f258e42
commit
bfb161f27c
@ -62,7 +62,7 @@ DWORD WINAPI render_soft_main(void)
|
||||
{
|
||||
if (ddraw->primary->palette && ddraw->primary->palette->data_rgb == NULL)
|
||||
{
|
||||
ddraw->primary->palette->data_rgb = &bmi->bmiColors[1];
|
||||
ddraw->primary->palette->data_rgb = &bmi->bmiColors[0];
|
||||
}
|
||||
|
||||
SetDIBits(memDC, surface, 0, ddraw->height, ddraw->primary->surface, bmi, DIB_RGB_COLORS);
|
||||
|
Loading…
x
Reference in New Issue
Block a user