Move context management out of glfwCreateWindow

Related to #25.
This commit is contained in:
Camilla Löwy
2017-12-24 10:07:56 +01:00
parent ac94014ef8
commit 1034b6e0db
5 changed files with 62 additions and 69 deletions
+2 -1
View File
@@ -954,7 +954,8 @@ const _GLFWfbconfig* _glfwChooseFBConfig(const _GLFWfbconfig* desired,
* unusable.
* @ingroup utility
*/
GLFWbool _glfwRefreshContextAttribs(const _GLFWctxconfig* ctxconfig);
GLFWbool _glfwRefreshContextAttribs(_GLFWwindow* window,
const _GLFWctxconfig* ctxconfig);
/*! @brief Checks whether the desired context attributes are valid.
* @param[in] ctxconfig The context attributes to check.