Browse Source

Added GLFW_VISIBLE to glfwWindowParam.

Camilla Berglund 13 years ago
parent
commit
f6a1bbf782
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/window.c

+ 2 - 0
src/window.c

@@ -723,6 +723,8 @@ GLFWAPI int glfwGetWindowParam(GLFWwindow handle, int param)
             return window->refreshRate;
         case GLFW_RESIZABLE:
             return window->resizable;
+        case GLFW_VISIBLE:
+            return window->visible;
         case GLFW_OPENGL_VERSION_MAJOR:
             return window->glMajor;
         case GLFW_OPENGL_VERSION_MINOR: