Updated error codes to better reflect multi-API support.

This commit is contained in:
Camilla Berglund
2012-11-23 12:00:49 +01:00
parent 1e9383d039
commit 06c191feea
5 changed files with 12 additions and 13 deletions
+1 -1
View File
@@ -491,7 +491,7 @@ static GLboolean initDisplay(void)
_glfwLibrary.X11.display = XOpenDisplay(NULL);
if (!_glfwLibrary.X11.display)
{
_glfwSetError(GLFW_OPENGL_UNAVAILABLE, "X11: Failed to open X display");
_glfwSetError(GLFW_API_UNAVAILABLE, "X11: Failed to open X display");
return GL_FALSE;
}