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

Added missing cast.

This commit is contained in:
Camilla Berglund 2012-09-27 15:18:57 +02:00
parent 7fa27f1e98
commit fe0cc512a2

View File

@ -268,7 +268,7 @@ GLFWAPI GLFWwindow glfwCreateWindow(int width, int height,
wndconfig.glDebug = _glfwLibrary.hints.glDebug ? GL_TRUE : GL_FALSE; wndconfig.glDebug = _glfwLibrary.hints.glDebug ? GL_TRUE : GL_FALSE;
wndconfig.glProfile = _glfwLibrary.hints.glProfile; wndconfig.glProfile = _glfwLibrary.hints.glProfile;
wndconfig.glRobustness = _glfwLibrary.hints.glRobustness ? GL_TRUE : GL_FALSE; wndconfig.glRobustness = _glfwLibrary.hints.glRobustness ? GL_TRUE : GL_FALSE;
wndconfig.share = share; wndconfig.share = (_GLFWwindow*) share;
// Reset to default values for the next call // Reset to default values for the next call
_glfwSetDefaultWindowHints(); _glfwSetDefaultWindowHints();