From 5bfba48d1809bf95147f53e6e06a756f8f5ab9e1 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Tue, 5 Oct 2010 03:36:52 +0200 Subject: [PATCH] Fixed use of legacy error token. --- src/win32/win32_window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/win32/win32_window.c b/src/win32/win32_window.c index bc74e721..702ebd02 100644 --- a/src/win32/win32_window.c +++ b/src/win32/win32_window.c @@ -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; }