diff --git a/include/GL/glfw3.h b/include/GL/glfw3.h index c4a6ea45..cc1f01b0 100644 --- a/include/GL/glfw3.h +++ b/include/GL/glfw3.h @@ -417,6 +417,7 @@ GLFWAPI GLFWwindow glfwOpenWindow(int width, int height, int mode, const char* t GLFWAPI void glfwOpenWindowHint(int target, int hint); GLFWAPI void glfwMakeWindowCurrent(GLFWwindow window); GLFWAPI int glfwIsWindow(GLFWwindow window); +GLFWAPI GLFWwindow glfwGetCurrentWindow(void); GLFWAPI void glfwCloseWindow(GLFWwindow window); GLFWAPI void glfwSetWindowTitle(GLFWwindow, const char* title); GLFWAPI void glfwGetWindowSize(GLFWwindow, int* width, int* height); diff --git a/readme.html b/readme.html index fb08e385..a11b614d 100644 --- a/readme.html +++ b/readme.html @@ -270,6 +270,7 @@ version of GLFW.
glfwGetWindowPos function for querying the position of the specified windowglfwSetWindowFocusCallback function and GLFWwindowfocusfun type for receiving window focus eventsglfwSetWindowIconifyCallback function and GLFWwindowiconifyfun type for receiving window iconification eventsglfwGetCurrentWindow function for retrieving the window whose OpenGL context is currentwindows simple multi-window test programsharing simple OpenGL object sharing test programglfwOpenWindow for specifying a context the new window's context will share objects with