override first and last color in palette if DDPCAPS_ALLOW256 isn't set

This commit is contained in:
FunkyFr3sh 2021-05-13 20:02:35 +02:00
parent 772394fabc
commit 1afa15bdba
2 changed files with 21 additions and 8 deletions

View file

@ -17,6 +17,7 @@ typedef struct IDirectDrawPaletteImpl
int data_bgr[256];
RGBQUAD* data_rgb;
DWORD flags;
} IDirectDrawPaletteImpl;