Browse Source

Fixed broken call to glfwShowWindow.

Camilla Berglund 13 năm trước cách đây
mục cha
commit
3d2722dc4c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);