diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2018-01-10 18:37:40 +0000 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2018-01-10 18:37:40 +0000 |
commit | 5fe329fe40c296a4a3dce9bc5543419ac954e4b0 (patch) | |
tree | 5fac3b692fecc7899f8c746e2116cdf6e2eee7b1 /yage/yage.cpp | |
parent | a62fbea8d40f623ffcd60eced63f295cd55db084 (diff) | |
download | YAGE-5fe329fe40c296a4a3dce9bc5543419ac954e4b0.tar.gz YAGE-5fe329fe40c296a4a3dce9bc5543419ac954e4b0.zip |
[Engine] [Docs] Adding documentation and continuing work on ECS.
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"); } } |