mirror of
https://github.com/glfw/glfw.git
synced 2024-11-26 20:11:58 +00: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";
|
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";
|
||||||
|
Loading…
Reference in New Issue
Block a user