mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-24 17:49:52 +01:00
set DDSD_CKSRCBLT on SetColorKey
This commit is contained in:
parent
1c9b39a1fd
commit
8326407a64
@ -1046,6 +1046,8 @@ HRESULT dds_SetColorKey(IDirectDrawSurfaceImpl* This, DWORD dwFlags, LPDDCOLORKE
|
|||||||
|
|
||||||
if (lpColorKey)
|
if (lpColorKey)
|
||||||
{
|
{
|
||||||
|
This->flags |= DDSD_CKSRCBLT;
|
||||||
|
|
||||||
This->color_key.dwColorSpaceLowValue = lpColorKey->dwColorSpaceLowValue;
|
This->color_key.dwColorSpaceLowValue = lpColorKey->dwColorSpaceLowValue;
|
||||||
|
|
||||||
if (dwFlags & DDCKEY_COLORSPACE)
|
if (dwFlags & DDCKEY_COLORSPACE)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user