mirror of
https://github.com/glfw/glfw.git
synced 2024-11-26 06:14:35 +00:00
Clarify undocumented platform errors
This commit is contained in:
parent
a570d0a129
commit
4928e2bf0a
@ -67,7 +67,7 @@ static const char* getErrorString(int error)
|
|||||||
case GLFW_VERSION_UNAVAILABLE:
|
case GLFW_VERSION_UNAVAILABLE:
|
||||||
return "The requested API version is unavailable";
|
return "The requested API version is unavailable";
|
||||||
case GLFW_PLATFORM_ERROR:
|
case GLFW_PLATFORM_ERROR:
|
||||||
return "A platform-specific error occurred";
|
return "An undocumented platform-specific error occurred";
|
||||||
case GLFW_FORMAT_UNAVAILABLE:
|
case GLFW_FORMAT_UNAVAILABLE:
|
||||||
return "The requested format is unavailable";
|
return "The requested format is unavailable";
|
||||||
case GLFW_NO_WINDOW_CONTEXT:
|
case GLFW_NO_WINDOW_CONTEXT:
|
||||||
|
Loading…
Reference in New Issue
Block a user