fix d3d9 automatic cursor lock on alt+tab

This commit is contained in:
FunkyFr3sh 2018-10-09 09:16:00 +02:00
parent bbf2b0db12
commit 42d13edb92
4 changed files with 16 additions and 1 deletions

View file

@ -242,7 +242,10 @@ static void Render()
Sleep(500);
if (!InterlockedExchangeAdd(&ddraw->minimized, 0) && CreateDirect3D())
{
active = TRUE;
PostMessage(ddraw->hWnd, WM_D3D9FULLSCREEN, 0, 0);
}
continue;
}