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

add position check to make sure we'll only resize on first start

This commit is contained in:
FunkyFr3sh 2024-04-12 01:37:44 +02:00
parent 3a52a07ba6
commit 9d4f3b148b

View File

@ -1213,7 +1213,7 @@ HRESULT dd_SetCooperativeLevel(HWND hwnd, DWORD dwFlags)
g_config.devmode = TRUE;
/*
if (!g_config.window_rect.right)
if (!g_config.window_rect.right && g_config.window_rect.left == -32000)
{
if (real_GetSystemMetrics(SM_CYSCREEN) >= 2160)
{