mirror of
https://github.com/glfw/glfw.git
synced 2025-04-06 22:15:06 +00:00
Fixed order of operations.
This commit is contained in:
parent
a6ded4d3fe
commit
45eebb39fb
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue