aboutsummaryrefslogtreecommitdiffstats
path: root/yage/yage.cpp
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2018-01-10 18:38:31 +0000
committerYann Herklotz <ymherklotz@gmail.com>2018-01-10 18:38:31 +0000
commit21ebdb0b3206bef69fee2b5f9b34573a516eddb4 (patch)
tree5fac3b692fecc7899f8c746e2116cdf6e2eee7b1 /yage/yage.cpp
parentfe9fa3a98166718171b7687c24c289b4a2b5cf44 (diff)
parent5fe329fe40c296a4a3dce9bc5543419ac954e4b0 (diff)
downloadYAGE-21ebdb0b3206bef69fee2b5f9b34573a516eddb4.tar.gz
YAGE-21ebdb0b3206bef69fee2b5f9b34573a516eddb4.zip
Merge branch 'develop'
Diffstat (limited to 'yage/yage.cpp')
-rw-r--r--yage/yage.cpp2
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");
}
}