Fixed refresh of debug context attribute.

This commit is contained in:
Camilla Berglund
2014-03-06 14:48:44 +01:00
parent e2d6f2761c
commit ae8393c06e
4 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -232,7 +232,7 @@ GLFWAPI GLFWwindow* glfwCreateWindow(int width, int height,
glfwMakeContextCurrent((GLFWwindow*) window);
// Retrieve the actual (as opposed to requested) context attributes
if (!_glfwRefreshContextAttribs())
if (!_glfwRefreshContextAttribs(&wndconfig))
{
glfwDestroyWindow((GLFWwindow*) window);
glfwMakeContextCurrent((GLFWwindow*) previous);