Add missing assertion

master
Camilla Berglund ago%!(EXTRA string=9 years)
parent 73abf8a800
commit 613868b893
  1. 2
      src/window.c

@ -628,6 +628,8 @@ GLFWAPI void glfwRestoreWindow(GLFWwindow* handle)
GLFWAPI void glfwMaximizeWindow(GLFWwindow* handle)
{
_GLFWwindow* window = (_GLFWwindow*) handle;
assert(window != NULL);
_GLFW_REQUIRE_INIT();
_glfwPlatformMaximizeWindow(window);
}

Loading…
Cancel
Save