From c8cce220d83a07d27932a6b2ff31863ea712878a Mon Sep 17 00:00:00 2001 From: Jarcode Date: Thu, 8 Feb 2018 06:36:40 -0800 Subject: [PATCH] fixed GLFW_MAXIMIZED macro for GLFW 3.1 --- render.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/render.c b/render.c index a774b18..2556416 100644 --- a/render.c +++ b/render.c @@ -826,7 +826,7 @@ struct renderer* rd_new(const char** paths, const char* entry, const char* force WINDOW_HINT("setfloating", GLFW_FLOATING), WINDOW_HINT("setdecorated", GLFW_DECORATED), WINDOW_HINT("setfocused", GLFW_FOCUSED), - #if GLFW_VERSION_MAJOR == 3 && GLFW_VERSION_MINOR <= 1 + #ifdef GLFW_MAXIMIZED WINDOW_HINT("setmaximized", GLFW_MAXIMIZED), #else STUB("setmaximized", "b"),