1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-22 18:28:52 -05:00

Win32: Fix initial state of maximized state cache

(cherry picked from commit 2c7ef5b480)
This commit is contained in:
Camilla Löwy 2019-08-14 19:18:29 +02:00
parent 30e67357be
commit 2d3f388158

View File

@ -1228,6 +1228,7 @@ static int createNativeWindow(_GLFWwindow* window,
xpos = CW_USEDEFAULT;
ypos = CW_USEDEFAULT;
window->win32.maximized = wndconfig->maximized;
if (wndconfig->maximized)
style |= WS_MAXIMIZE;