fixed GLFW_MAXIMIZED macro for GLFW 3.1
This commit is contained in:
2
render.c
2
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"),
|
||||
|
||||
Reference in New Issue
Block a user