mirror of
https://github.com/glfw/glfw.git
synced 2026-02-20 22:23:12 +01:00
Added missing error string.
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user