mirror of
https://github.com/glfw/glfw.git
synced 2026-01-11 23:33:16 +01:00
Fixed use of legacy error token.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user