fully separate render thread to prevent slowdowns in main thread

This commit is contained in:
FunkyFr3sh 2017-11-11 23:32:07 +01:00
parent 79b83bcb7a
commit 9bd708d8f5
7 changed files with 28 additions and 84 deletions

View file

@ -59,12 +59,6 @@ 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)
{
ReleaseSemaphore(ddraw->render.sem, 1, NULL);
}
return DD_OK;
}