only update textures if necessary
This commit is contained in:
parent
4c2272a54e
commit
a40392e11a
4 changed files with 19 additions and 4 deletions
|
@ -62,6 +62,7 @@ HRESULT __stdcall ddraw_palette_SetEntries(IDirectDrawPaletteImpl *This, DWORD d
|
|||
/* FIXME: only refresh the screen when the primary palette is changed */
|
||||
if(ddraw->primary && ddraw->render.run)
|
||||
{
|
||||
InterlockedExchange(&ddraw->render.paletteUpdated, TRUE);
|
||||
ReleaseSemaphore(ddraw->render.sem, 1, NULL);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue