Fix glfwMaximizeWindow not checking window mode

This commit is contained in:
Camilla Berglund
2016-06-16 12:52:22 +02:00
parent 3d62c9ed9d
commit 9cd0c101f0
2 changed files with 6 additions and 0 deletions
+4
View File
@@ -631,6 +631,10 @@ GLFWAPI void glfwMaximizeWindow(GLFWwindow* handle)
assert(window != NULL);
_GLFW_REQUIRE_INIT();
if (window->monitor)
return;
_glfwPlatformMaximizeWindow(window);
}