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; }