Fixed GLFW_WINDOW_NO_RESIZE state not being saved.

This commit is contained in:
Camilla Berglund
2012-02-27 02:21:26 +01:00
parent f47f5d9f59
commit 98fbc07aa4
3 changed files with 5 additions and 0 deletions
+2
View File
@@ -816,6 +816,8 @@ int _glfwPlatformOpenWindow(_GLFWwindow* window,
if (!initializeCocoa())
return GL_FALSE;
window->resizable = wndconfig->resizable;
// We can only have one application delegate, but we only allocate it the
// first time we create a window to keep all window code in this file
if (_glfwLibrary.NS.delegate == nil)