Răsfoiți Sursa

Fixed broken call to glfwShowWindow.

Camilla Berglund 13 ani în urmă
părinte
comite
3d2722dc4c
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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);