Clarify undocumented platform errors

This commit is contained in:
Camilla Löwy 2017-02-18 19:59:27 +01:00
parent a570d0a129
commit 4928e2bf0a

View File

@ -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: