Procházet zdrojové kódy

Fixed broken call to glfwShowWindow.

Camilla Berglund před 13 roky
rodič
revize
3d2722dc4c
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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;
         return GL_FALSE;
     }
     }
 
 
-    glfwShowWindow(window, 1); // TODO: consider if this is necessary!
+    glfwShowWindow(window);
 
 
     // Cache the actual (as opposed to requested) window parameters
     // Cache the actual (as opposed to requested) window parameters
     _glfwPlatformRefreshWindowParams(window);
     _glfwPlatformRefreshWindowParams(window);