commit | ba941b2fc8255c044465edd672a0e4486bdbda6d | [log] [tgz] |
---|---|---|
author | Camilla Berglund <elmindreda@elmindreda.org> | Thu Aug 02 15:13:57 2012 +0200 |
committer | Camilla Berglund <elmindreda@elmindreda.org> | Thu Aug 02 15:13:57 2012 +0200 |
tree | 6c93f65cfafd80980d5fef3a625a04c4c075d62e | |
parent | 208377d08efd14ec9d4af043b8c840111d909f00 [diff] [blame] |
Added formatting to error string.
diff --git a/src/internal.h b/src/internal.h index fc036bc..4e18c93 100644 --- a/src/internal.h +++ b/src/internal.h
@@ -338,7 +338,7 @@ void _glfwSplitBPP(int bpp, int* red, int* green, int* blue); // Error handling (error.c) -void _glfwSetError(int error, const char* description); +void _glfwSetError(int error, const char* format, ...); // Window management (window.c) void _glfwSetDefaultWindowHints(void);