mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 13:04:35 +00:00
Made arrays returned by public API const.
This commit is contained in:
parent
1b59002682
commit
e38b752465
@ -989,7 +989,7 @@ GLFWAPI void glfwSetErrorCallback(GLFWerrorfun cbfun);
|
||||
* @return An array of monitor handles.
|
||||
* @ingroup monitor
|
||||
*/
|
||||
GLFWAPI GLFWmonitor* glfwGetMonitors(int* count);
|
||||
GLFWAPI const GLFWmonitor* glfwGetMonitors(int* count);
|
||||
|
||||
/*! @brief Returns the primary monitor.
|
||||
* @return The primary monitor.
|
||||
@ -1038,7 +1038,7 @@ GLFWAPI void glfwSetMonitorCallback(GLFWmonitorfun cbfun);
|
||||
* @return An array of video modes.
|
||||
* @ingroup monitor
|
||||
*/
|
||||
GLFWAPI GLFWvidmode* glfwGetVideoModes(GLFWmonitor monitor, int* count);
|
||||
GLFWAPI const GLFWvidmode* glfwGetVideoModes(GLFWmonitor monitor, int* count);
|
||||
|
||||
/*! @brief Returns the current mode of the specified monitor.
|
||||
* @param[in] monitor The monitor to query.
|
||||
|
Loading…
Reference in New Issue
Block a user