force redraw in GDI renderer too
This commit is contained in:
parent
056c0750b2
commit
b14b3e1dd8
1 changed files with 6 additions and 0 deletions
|
@ -162,6 +162,12 @@ DWORD WINAPI gdi_render_main(void)
|
||||||
|
|
||||||
LeaveCriticalSection(&g_ddraw.cs);
|
LeaveCriticalSection(&g_ddraw.cs);
|
||||||
|
|
||||||
|
/* Force redraw for GDI games (ClueFinders) */
|
||||||
|
if (!g_ddraw.primary)
|
||||||
|
{
|
||||||
|
RedrawWindow(g_ddraw.hwnd, NULL, NULL, RDW_INVALIDATE | RDW_ALLCHILDREN);
|
||||||
|
}
|
||||||
|
|
||||||
if (!g_ddraw.render.run)
|
if (!g_ddraw.render.run)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue