From ea51091b26a212a6e9c8859eae89cc94e4eab95f Mon Sep 17 00:00:00 2001 From: kallaballa Date: Fri, 2 Dec 2022 21:13:54 +0100 Subject: [PATCH] use GLFW_TRUE for glfw --- src/common/subsystems.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);