mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-26 20:28:49 -05:00
Added missing error string.
This commit is contained in:
parent
dbfd59ee7e
commit
df75a2dc2f
|
@ -107,6 +107,8 @@ GLFWAPI const char* glfwErrorString(int error)
|
|||
return "The requested OpenGL version is unavailable";
|
||||
case GLFW_PLATFORM_ERROR:
|
||||
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";
|
||||
|
|
Loading…
Reference in New Issue
Block a user