1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-26 20:28:49 -05:00

Fixed corruption of robustness strategy hint.

This commit is contained in:
Camilla Berglund 2012-12-13 20:01:57 +01:00
parent 8c6511085a
commit d11558e7e4

View File

@ -253,7 +253,7 @@ GLFWAPI GLFWwindow glfwCreateWindow(int width, int height,
wndconfig.glForward = _glfwLibrary.hints.glForward ? GL_TRUE : GL_FALSE;
wndconfig.glDebug = _glfwLibrary.hints.glDebug ? GL_TRUE : GL_FALSE;
wndconfig.glProfile = _glfwLibrary.hints.glProfile;
wndconfig.glRobustness = _glfwLibrary.hints.glRobustness ? GL_TRUE : GL_FALSE;
wndconfig.glRobustness = _glfwLibrary.hints.glRobustness;
wndconfig.share = (_GLFWwindow*) share;
// Check the OpenGL bits of the window config