Made glfwGetVideoMode return a GLFWvidmode.

This commit is contained in:
Camilla Berglund
2013-01-05 22:07:06 +01:00
parent 9af960e2dd
commit 316ee1d77d
6 changed files with 10 additions and 19 deletions

View File

@@ -1043,7 +1043,7 @@ GLFWAPI const GLFWvidmode* glfwGetVideoModes(GLFWmonitor* monitor, int* count);
* @param[out] mode The current mode of the monitor.
* @ingroup monitor
*/
GLFWAPI void glfwGetVideoMode(GLFWmonitor* monitor, GLFWvidmode* mode);
GLFWAPI GLFWvidmode glfwGetVideoMode(GLFWmonitor* monitor);
/*! @brief Sets the system gamma ramp to one generated from the specified
* exponent.