diff options
Diffstat (limited to 'yage/yage.cpp')
-rw-r--r-- | yage/yage.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/yage/yage.cpp b/yage/yage.cpp index a141d9aa..68acac5a 100644 --- a/yage/yage.cpp +++ b/yage/yage.cpp @@ -10,6 +10,7 @@ #include <GLFW/glfw3.h> +#include <iostream> #include <stdexcept> namespace yage @@ -17,7 +18,7 @@ namespace yage void glfwErrorCallback(int, const char *description) { - fprintf(stderr, "ERROR: %s\n", description); + std::cerr << "ERROR: %s\n" << description; } void init() |