mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +01:00
fix for last commit
This commit is contained in:
parent
9e9783f8d2
commit
810fac999a
@ -929,7 +929,11 @@ HRESULT dds_SetPalette(IDirectDrawSurfaceImpl *This, LPDIRECTDRAWPALETTE lpDDPal
|
||||
IDirectDrawPalette_Release(This->palette);
|
||||
}
|
||||
|
||||
This->palette = (IDirectDrawPaletteImpl *)lpDDPalette;
|
||||
EnterCriticalSection(&g_ddraw->cs);
|
||||
|
||||
This->palette = (IDirectDrawPaletteImpl*)lpDDPalette;
|
||||
|
||||
LeaveCriticalSection(&g_ddraw->cs);
|
||||
|
||||
return DD_OK;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user