mirror of
https://github.com/glfw/glfw.git
synced 2024-11-29 15:44:35 +00:00
Fix no-GLES-on-NSGL error type and description
This commit is contained in:
parent
f6defeff5d
commit
90adbe0451
@ -67,8 +67,8 @@ int _glfwCreateContext(_GLFWwindow* window,
|
|||||||
|
|
||||||
if (ctxconfig->api == GLFW_OPENGL_ES_API)
|
if (ctxconfig->api == GLFW_OPENGL_ES_API)
|
||||||
{
|
{
|
||||||
_glfwInputError(GLFW_VERSION_UNAVAILABLE,
|
_glfwInputError(GLFW_API_UNAVAILABLE,
|
||||||
"NSGL: This API does not support OpenGL ES");
|
"NSGL: OpenGL ES is not available on OS X");
|
||||||
return GL_FALSE;
|
return GL_FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user