Fix Carmageddon loading screen and fade animation
This commit is contained in:
parent
7c0f9a4fa3
commit
a24045e39d
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
ReleaseSemaphore(ddraw->render.sem, 1, NULL);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue