Made glfwGetVideoMode consistent with getters.

This commit is contained in:
Camilla Berglund
2013-05-22 22:16:43 +02:00
parent 5d308db654
commit ce1e84def6
7 changed files with 18 additions and 19 deletions

View File

@@ -1060,14 +1060,13 @@ GLFWAPI const GLFWvidmode* glfwGetVideoModes(GLFWmonitor* monitor, int* count);
* on whether it is focused.
*
* @param[in] monitor The monitor to query.
* @return The current mode of the monitor, or a struct cleared to all zeroes
* if an error occurred.
* @return The current mode of the monitor, or `NULL` if an error occurred.
*
* @sa glfwGetVideoModes
*
* @ingroup monitor
*/
GLFWAPI GLFWvidmode glfwGetVideoMode(GLFWmonitor* monitor);
GLFWAPI const GLFWvidmode* glfwGetVideoMode(GLFWmonitor* monitor);
/*! @brief Generates a gamma ramp and sets it for the specified monitor.
*