Move all WGL weirdness to Win32 code

This commit is contained in:
Camilla Berglund
2015-10-28 02:06:51 +01:00
parent 97d8ea8119
commit 23bf1b530b
5 changed files with 6 additions and 20 deletions
+2
View File
@@ -830,6 +830,7 @@ int _glfwPlatformCreateWindow(_GLFWwindow* window,
if (!_glfwCreateContext(window, ctxconfig, fbconfig))
return GLFW_FALSE;
#if defined(_GLFW_WGL)
status = _glfwAnalyzeContext(window, ctxconfig, fbconfig);
if (status == _GLFW_RECREATION_IMPOSSIBLE)
@@ -868,6 +869,7 @@ int _glfwPlatformCreateWindow(_GLFWwindow* window,
return GLFW_FALSE;
if (!_glfwCreateContext(window, ctxconfig, fbconfig))
return GLFW_FALSE;
#endif
}
}