diff --git a/src/common/subsystems.hpp b/src/common/subsystems.hpp index 7932f3277..f50a93b97 100644 --- a/src/common/subsystems.hpp +++ b/src/common/subsystems.hpp @@ -230,7 +230,7 @@ void init(const string &title, int major = 4, int minor = 6, bool debug = false) // if (app::OFFSCREEN) { // glfwInitHint(GLFW_PLATFORM, GLFW_PLATFORM_NULL); // } - assert(glfwInit()); + assert(glfwInit() == GLFW_TRUE); glfwSetErrorCallback(error_callback);