mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 21:14:35 +00:00
Added string for new error.
This commit is contained in:
parent
e0c4d81e46
commit
ad48c0e5ef
@ -109,6 +109,8 @@ GLFWAPI const char* glfwErrorString(int error)
|
||||
return "A platform-specific error occurred";
|
||||
case GLFW_WINDOW_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";
|
||||
|
Loading…
Reference in New Issue
Block a user