1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-15 06:04:49 +01:00

add DDSCL_FULLSCREEN check

This commit is contained in:
FunkyFr3sh 2024-08-25 19:12:15 +02:00
parent e6c5c4ede2
commit 283295a5c9

View File

@ -1415,7 +1415,7 @@ HRESULT dd_SetCooperativeLevel(HWND hwnd, DWORD dwFlags)
}
}
if (dwFlags & DDSCL_NORMAL)
if ((dwFlags & DDSCL_NORMAL) && !(dwFlags & DDSCL_FULLSCREEN))
{
if (g_config.fake_mode[0])
{