Fix no-GLES-on-NSGL error type and description

master
Camilla Berglund ago%!(EXTRA string=10 years)
parent f6defeff5d
commit 90adbe0451
  1. 4
      src/nsgl_context.m

@ -67,8 +67,8 @@ int _glfwCreateContext(_GLFWwindow* window,
if (ctxconfig->api == GLFW_OPENGL_ES_API)
{
_glfwInputError(GLFW_VERSION_UNAVAILABLE,
"NSGL: This API does not support OpenGL ES");
_glfwInputError(GLFW_API_UNAVAILABLE,
"NSGL: OpenGL ES is not available on OS X");
return GL_FALSE;
}

Loading…
Cancel
Save