1
0
Fork 0
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:
Camilla Berglund 2012-09-30 15:51:46 +02:00
parent c764ae81e8
commit 937f137246

View File

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