Skip to content

Commit

Permalink
Revert enabling FLAG_WINDOW_ALWAYS_RUN by default on PLATFORM_DESKTOP…
Browse files Browse the repository at this point in the history
…_GLFW
  • Loading branch information
asdqwe committed Dec 19, 2024
1 parent 757bcbf commit 2da0f2a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/platforms/rcore_desktop_glfw.c
Original file line number Diff line number Diff line change
Expand Up @@ -1341,9 +1341,6 @@ int InitPlatform(void)
if ((CORE.Window.flags & FLAG_WINDOW_TOPMOST) > 0) glfwWindowHint(GLFW_FLOATING, GLFW_TRUE);
else glfwWindowHint(GLFW_FLOATING, GLFW_FALSE);

// Enable FLAG_WINDOW_ALWAYS_RUN by default
if ((CORE.Window.flags & FLAG_WINDOW_ALWAYS_RUN) == 0) CORE.Window.flags |= FLAG_WINDOW_ALWAYS_RUN;

// NOTE: Some GLFW flags are not supported on HTML5
if ((CORE.Window.flags & FLAG_WINDOW_TRANSPARENT) > 0) glfwWindowHint(GLFW_TRANSPARENT_FRAMEBUFFER, GLFW_TRUE); // Transparent framebuffer
else glfwWindowHint(GLFW_TRANSPARENT_FRAMEBUFFER, GLFW_FALSE); // Opaque framebuffer
Expand Down

0 comments on commit 2da0f2a

Please sign in to comment.