Skip to content
Snippets Groups Projects
Commit 2d3f3881 authored by Camilla Löwy's avatar Camilla Löwy
Browse files

Win32: Fix initial state of maximized state cache

(cherry picked from commit 2c7ef5b4)
parent 30e67357
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment