Fixed constness of function parameters.

This commit is contained in:
Camilla Berglund
2014-03-06 14:37:13 +01:00
parent 6029585f19
commit e2d6f2761c
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -743,7 +743,7 @@ GLboolean _glfwRefreshContextAttribs(void);
* exists and whether all relevant options have supported and non-conflicting
* values.
*/
GLboolean _glfwIsValidContextConfig(_GLFWwndconfig* wndconfig);
GLboolean _glfwIsValidContextConfig(const _GLFWwndconfig* wndconfig);
/*! @brief Checks whether the current context fulfils the specified hard
* constraints.
@@ -752,7 +752,7 @@ GLboolean _glfwIsValidContextConfig(_GLFWwndconfig* wndconfig);
* otherwise.
* @ingroup utility
*/
GLboolean _glfwIsValidContext(_GLFWwndconfig* wndconfig);
GLboolean _glfwIsValidContext(const _GLFWwndconfig* wndconfig);
/*! @ingroup utility
*/