diff options
Diffstat (limited to 'yage/yage.cpp')
-rw-r--r-- | yage/yage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yage/yage.cpp b/yage/yage.cpp index 597a4613..9a015d8c 100644 --- a/yage/yage.cpp +++ b/yage/yage.cpp @@ -24,7 +24,7 @@ void glfwErrorCallback(int, const char *description) void init() { glfwSetErrorCallback(glfwErrorCallback); - if (!glfwInit()) { + if (glfwInit() == GLFW_FALSE) { throw std::runtime_error("GLFW couldn't be initialised"); } } |