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

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)
{
_glfwSetError(GLFW_UNAVAILABLE_VERSION);
_glfwSetError(GLFW_VERSION_UNAVAILABLE);
return GL_FALSE;
}