fully separate render thread to prevent slowdowns in main thread
This commit is contained in:
parent
79b83bcb7a
commit
9bd708d8f5
7 changed files with 28 additions and 84 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue