mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-26 12:18:51 -05:00
Improved error formatting.
This commit is contained in:
parent
c764ae81e8
commit
937f137246
|
@ -61,7 +61,7 @@ static void usage(void)
|
||||||
|
|
||||||
static void error_callback(int error, const char* description)
|
static void error_callback(int error, const char* description)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "Error: %s in %s\n", glfwErrorString(error), description);
|
fprintf(stderr, "Error: %s\n", description);
|
||||||
}
|
}
|
||||||
|
|
||||||
static const char* get_client_api_name(int api)
|
static const char* get_client_api_name(int api)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user