diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2018-01-10 18:38:31 +0000 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2018-01-10 18:38:31 +0000 |
commit | 21ebdb0b3206bef69fee2b5f9b34573a516eddb4 (patch) | |
tree | 5fac3b692fecc7899f8c746e2116cdf6e2eee7b1 /yage/yage.cpp | |
parent | fe9fa3a98166718171b7687c24c289b4a2b5cf44 (diff) | |
parent | 5fe329fe40c296a4a3dce9bc5543419ac954e4b0 (diff) | |
download | YAGE-21ebdb0b3206bef69fee2b5f9b34573a516eddb4.tar.gz YAGE-21ebdb0b3206bef69fee2b5f9b34573a516eddb4.zip |
Merge branch 'develop'
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"); } } |