mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +01:00
Fix Carmageddon loading screen and fade animation
This commit is contained in:
parent
7c0f9a4fa3
commit
a24045e39d
@ -59,7 +59,8 @@ HRESULT __stdcall ddraw_palette_SetEntries(IDirectDrawPaletteImpl *This, DWORD d
|
||||
}
|
||||
}
|
||||
|
||||
if(ddraw->primary && !(ddraw->primary->flags & DDSD_BACKBUFFERCOUNT) && ddraw->render.run)
|
||||
/* FIXME: only refresh the screen when the primary palette is changed */
|
||||
if(ddraw->primary && ddraw->render.run)
|
||||
{
|
||||
ReleaseSemaphore(ddraw->render.sem, 1, NULL);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user