Merge branch 'master' of ssh://glfw.git.sourceforge.net/gitroot/glfw/glfw

master
Camilla Berglund ago%!(EXTRA string=14 years)
commit bcf16d83c1
  1. 4
      src/window.c

@ -523,6 +523,10 @@ GLFWAPI void glfwCloseWindow(GLFWwindow handle)
_GLFWwindow* window = (_GLFWwindow*) handle;
// Allow closing of NULL (to match the behavior of free)
if (window == NULL)
return;
// Show mouse pointer again (if hidden)
if (window == _glfwLibrary.cursorLockWindow)
glfwEnable(window, GLFW_MOUSE_CURSOR);

Loading…
Cancel
Save