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:
parent
1585c8b981
commit
5bfba48d18
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user