forked from cafeberry/cafeberry
merge upstream
This commit is contained in:
commit
fb2e8eefd9
1 file changed
+3
-2
@@ -503,8 +503,9 @@ HRESULT InitDevice()
|
|||||||
g_iScreenWidth = GetSystemMetrics(SM_CXSCREEN);
|
g_iScreenWidth = GetSystemMetrics(SM_CXSCREEN);
|
||||||
g_iScreenHeight = GetSystemMetrics(SM_CYSCREEN);
|
g_iScreenHeight = GetSystemMetrics(SM_CYSCREEN);
|
||||||
}
|
}
|
||||||
g_bWidescreen = (g_iScreenHeight > 0 && ((double)g_iScreenWidth / g_iScreenHeight) >= 1.59) ? TRUE : FALSE;
|
}
|
||||||
}
|
|
||||||
|
g_bWidescreen = (g_iScreenHeight > 0 && ((double)g_iScreenWidth / g_iScreenHeight) >= 1.59) ? TRUE : FALSE;
|
||||||
|
|
||||||
//str1k3r - stop hardcoding size and just use the screens actual size
|
//str1k3r - stop hardcoding size and just use the screens actual size
|
||||||
UINT width = g_iScreenWidth;
|
UINT width = g_iScreenWidth;
|
||||||
|
|||||||
Reference in new issue
Block a user