mirror of
https://github.com/glfw/glfw.git
synced 2026-01-11 07:23:15 +01:00
Win32: Fix initial state of maximized state cache
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user