Skip to content

Commit

Permalink
fixed GLFW_MAXIMIZED macro for GLFW 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jarcode-foss committed Feb 8, 2018
1 parent be63f40 commit c8cce22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion render.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down

0 comments on commit c8cce22

Please sign in to comment.