mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-26 12:18:51 -05:00
Win32: Fix initial state of maximized state cache
This commit is contained in:
parent
711b9694a1
commit
2c7ef5b480
|
@ -1228,6 +1228,7 @@ static int createNativeWindow(_GLFWwindow* window,
|
||||||
xpos = CW_USEDEFAULT;
|
xpos = CW_USEDEFAULT;
|
||||||
ypos = CW_USEDEFAULT;
|
ypos = CW_USEDEFAULT;
|
||||||
|
|
||||||
|
window->win32.maximized = wndconfig->maximized;
|
||||||
if (wndconfig->maximized)
|
if (wndconfig->maximized)
|
||||||
style |= WS_MAXIMIZE;
|
style |= WS_MAXIMIZE;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user