force redraw with boxing/maintas

This commit is contained in:
FunkyFr3sh 2018-03-23 00:35:19 +01:00
parent e32bf1032f
commit 4725035462
2 changed files with 9 additions and 4 deletions

View file

@ -441,6 +441,11 @@ HRESULT __stdcall ddraw_SetDisplayMode(IDirectDrawImpl *This, DWORD width, DWORD
mouse_lock();
}
if(This->boxing || This->maintas)
{
RedrawWindow(This->hWnd, NULL, NULL, RDW_ERASE | RDW_INVALIDATE);
}
if(This->render.thread == NULL)
{
This->render.thread = CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)This->renderer, NULL, 0, NULL);