fix autorenderer bug on win xp

This commit is contained in:
FunkyFr3sh 2019-08-07 03:21:20 +02:00
parent 0caaf3677a
commit 92e4a85160
2 changed files with 4 additions and 7 deletions

View file

@ -1339,11 +1339,6 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
mouse_unlock();
real_SetWindowPos(ddraw->hWnd, HWND_BOTTOM, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
real_SetWindowPos(ddraw->hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
if (!ddraw->wine)
{
ShowWindow(ddraw->hWnd, SW_MINIMIZE);
ShowWindow(ddraw->hWnd, SW_RESTORE);
}
mouse_lock();
return 0;
}