2
0
Эх сурвалжийг харах

Added GLFW_VISIBLE to glfwWindowParam.

Camilla Berglund 13 жил өмнө
parent
commit
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;
             return window->refreshRate;
         case GLFW_RESIZABLE:
         case GLFW_RESIZABLE:
             return window->resizable;
             return window->resizable;
+        case GLFW_VISIBLE:
+            return window->visible;
         case GLFW_OPENGL_VERSION_MAJOR:
         case GLFW_OPENGL_VERSION_MAJOR:
             return window->glMajor;
             return window->glMajor;
         case GLFW_OPENGL_VERSION_MINOR:
         case GLFW_OPENGL_VERSION_MINOR: