Added missing error string.

This commit is contained in:
Camilla Berglund 2011-09-19 21:32:04 +02:00
parent dbfd59ee7e
commit df75a2dc2f

View File

@ -107,6 +107,8 @@ GLFWAPI const char* glfwErrorString(int error)
return "The requested OpenGL version is unavailable"; return "The requested OpenGL version is unavailable";
case GLFW_PLATFORM_ERROR: case GLFW_PLATFORM_ERROR:
return "A platform-specific error occurred"; return "A platform-specific error occurred";
case GLFW_WINDOW_NOT_ACTIVE:
return "The specified window is not active";
} }
return "ERROR: UNKNOWN ERROR TOKEN PASSED TO glfwErrorString"; return "ERROR: UNKNOWN ERROR TOKEN PASSED TO glfwErrorString";