Fixed fullscreen regressions.

This commit is contained in:
Camilla Berglund
2012-09-23 15:08:43 +02:00
parent 718af531a3
commit c0dcb5a056
4 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -367,7 +367,7 @@ GLFWAPI GLFWwindow glfwCreateWindow(int width, int height,
if (mode == GLFW_FULLSCREEN)
glfwSetInputMode(window, GLFW_CURSOR_MODE, GLFW_CURSOR_CAPTURED);
if (mode == GLFW_FULLSCREEN || wndconfig.visible)
if (mode == GLFW_WINDOWED && wndconfig.visible)
glfwShowWindow(window);
return window;