fix chils windows in dress designer
This commit is contained in:
parent
2301ba971b
commit
c66b972f68
2 changed files with 12 additions and 2 deletions
|
@ -93,7 +93,7 @@ DWORD WINAPI gdi_render_main(void)
|
|||
memcpy(&g_ddraw.primary->bmi->bmiColors[0], g_ddraw.primary->palette->data_rgb, 256 * sizeof(int));
|
||||
}
|
||||
|
||||
if (InterlockedExchange(&g_ddraw.render.clear_screen, FALSE))
|
||||
if (InterlockedExchange(&g_ddraw.render.clear_screen, FALSE) || g_ddraw.child_window_exists)
|
||||
{
|
||||
RECT rc = { 0, 0, g_ddraw.render.width, g_ddraw.render.height };
|
||||
FillRect(g_ddraw.render.hdc, &rc, (HBRUSH)GetStockObject(BLACK_BRUSH));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue