From 90adbe04516c9387a981779f986aa699a7337754 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Sun, 9 Aug 2015 13:37:27 +0200 Subject: [PATCH] Fix no-GLES-on-NSGL error type and description --- src/nsgl_context.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nsgl_context.m b/src/nsgl_context.m index 15af8356..c5539e39 100644 --- a/src/nsgl_context.m +++ b/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; }