Fixed use of legacy error token.

This commit is contained in:
Camilla Berglund 2010-10-05 03:36:52 +02:00
parent 1585c8b981
commit 5bfba48d18

View File

@ -1318,7 +1318,7 @@ int _glfwPlatformOpenWindow(_GLFWwindow* window,
{ {
if (!window->WGL.has_WGL_ARB_create_context) if (!window->WGL.has_WGL_ARB_create_context)
{ {
_glfwSetError(GLFW_UNAVAILABLE_VERSION); _glfwSetError(GLFW_VERSION_UNAVAILABLE);
return GL_FALSE; return GL_FALSE;
} }