Added string for new error.

This commit is contained in:
Camilla Berglund 2012-04-10 18:22:15 +02:00
parent e0c4d81e46
commit ad48c0e5ef

View File

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