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();