Merge a7c34f3af7 into 67359073ca
This commit is contained in:
commit
f79cfaf2d5
|
|
@ -2012,6 +2012,8 @@ static void WindowMaximizeCallback(GLFWwindow *window, int maximized)
|
||||||
{
|
{
|
||||||
if (maximized) FLAG_SET(CORE.Window.flags, FLAG_WINDOW_MAXIMIZED); // The window was maximized
|
if (maximized) FLAG_SET(CORE.Window.flags, FLAG_WINDOW_MAXIMIZED); // The window was maximized
|
||||||
else FLAG_CLEAR(CORE.Window.flags, FLAG_WINDOW_MAXIMIZED); // The window was restored
|
else FLAG_CLEAR(CORE.Window.flags, FLAG_WINDOW_MAXIMIZED); // The window was restored
|
||||||
|
// Update current window position
|
||||||
|
glfwGetWindowPos(platform.handle, &CORE.Window.position.x, &CORE.Window.position.y);
|
||||||
}
|
}
|
||||||
|
|
||||||
// GLFW3: Window focus callback, runs when window get/lose focus
|
// GLFW3: Window focus callback, runs when window get/lose focus
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user