mirror of
https://github.com/glfw/glfw.git
synced 2026-09-17 22:32:50 +00:00
Improve client API error messages
Add separate strings for each client API to make it easier to grep. Remove 'client' from fallback error messages as API-related error tokens are used for non-client APIs as well.
This commit is contained in:
+2
-2
@@ -65,9 +65,9 @@ static const char* getErrorString(int error)
|
||||
case GLFW_OUT_OF_MEMORY:
|
||||
return "Out of memory";
|
||||
case GLFW_API_UNAVAILABLE:
|
||||
return "The requested client API is unavailable";
|
||||
return "The requested API is unavailable";
|
||||
case GLFW_VERSION_UNAVAILABLE:
|
||||
return "The requested client API version is unavailable";
|
||||
return "The requested API version is unavailable";
|
||||
case GLFW_PLATFORM_ERROR:
|
||||
return "A platform-specific error occurred";
|
||||
case GLFW_FORMAT_UNAVAILABLE:
|
||||
|
||||
Reference in New Issue
Block a user