瀏覽代碼

Fixed broken call to glfwShowWindow.

Camilla Berglund 13 年之前
父節點
當前提交
3d2722dc4c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/window.c

+ 1 - 1
src/window.c

@@ -318,7 +318,7 @@ GLFWAPI GLFWwindow glfwCreateWindow(int width, int height,
         return GL_FALSE;
     }
 
-    glfwShowWindow(window, 1); // TODO: consider if this is necessary!
+    glfwShowWindow(window);
 
     // Cache the actual (as opposed to requested) window parameters
     _glfwPlatformRefreshWindowParams(window);