mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +01:00
force redraw in GDI renderer too
This commit is contained in:
parent
056c0750b2
commit
b14b3e1dd8
@ -162,6 +162,12 @@ DWORD WINAPI gdi_render_main(void)
|
||||
|
||||
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)
|
||||
break;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user