| commit | 90adbe04516c9387a981779f986aa699a7337754 | [log] [tgz] |
|---|---|---|
| author | Camilla Berglund <elmindreda@elmindreda.org> | Sun Aug 09 13:37:27 2015 +0200 |
| committer | Camilla Berglund <elmindreda@elmindreda.org> | Sun Aug 09 13:37:53 2015 +0200 |
| tree | 53a9f019eec0e1bb98163f970deb3d8736590de7 | |
| parent | f6defeff5d4d865862c0bbfd8fa2b5c4d2fa1d7c [diff] |
Fix no-GLES-on-NSGL error type and description
diff --git a/src/nsgl_context.m b/src/nsgl_context.m index 15af835..c5539e3 100644 --- a/src/nsgl_context.m +++ b/src/nsgl_context.m
@@ -67,8 +67,8 @@ 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; }