mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-24 17:49:52 +01:00
add position check to make sure we'll only resize on first start
This commit is contained in:
parent
3a52a07ba6
commit
9d4f3b148b
2
src/dd.c
2
src/dd.c
@ -1213,7 +1213,7 @@ HRESULT dd_SetCooperativeLevel(HWND hwnd, DWORD dwFlags)
|
|||||||
g_config.devmode = TRUE;
|
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)
|
if (real_GetSystemMetrics(SM_CYSCREEN) >= 2160)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user