浏览代码

Added GLFW_VISIBLE to glfwWindowParam.

Camilla Berglund 13 年之前
父节点
当前提交
f6a1bbf782
共有 1 个文件被更改,包括 2 次插入0 次删除
  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: