1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-15 06:04:49 +01:00

set DDSD_CKSRCBLT on SetColorKey

This commit is contained in:
FunkyFr3sh 2024-05-08 03:30:18 +02:00
parent 1c9b39a1fd
commit 8326407a64

View File

@ -1046,6 +1046,8 @@ HRESULT dds_SetColorKey(IDirectDrawSurfaceImpl* This, DWORD dwFlags, LPDDCOLORKE
if (lpColorKey)
{
This->flags |= DDSD_CKSRCBLT;
This->color_key.dwColorSpaceLowValue = lpColorKey->dwColorSpaceLowValue;
if (dwFlags & DDCKEY_COLORSPACE)