mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-26 20:28:49 -05:00
Fixed order of operations.
This commit is contained in:
parent
a6ded4d3fe
commit
45eebb39fb
|
@ -566,6 +566,11 @@ static LRESULT CALLBACK windowProc(HWND hWnd, UINT uMsg,
|
|||
updateClipRect(window);
|
||||
}
|
||||
|
||||
if (wParam == SIZE_MINIMIZED)
|
||||
_glfwInputWindowIconify(window, GL_TRUE);
|
||||
else if (wParam == SIZE_RESTORED)
|
||||
_glfwInputWindowIconify(window, GL_FALSE);
|
||||
|
||||
_glfwInputFramebufferSize(window, LOWORD(lParam), HIWORD(lParam));
|
||||
_glfwInputWindowSize(window, LOWORD(lParam), HIWORD(lParam));
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue
Block a user