Jelajahi Sumber

Added GLFW_VISIBLE to glfwWindowParam.

Camilla Berglund 13 tahun lalu
induk
melakukan
f6a1bbf782
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  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: