瀏覽代碼

Revert enabling FLAG_WINDOW_ALWAYS_RUN by default on PLATFORM_DESKTOP_GLFW

asdqwe 2 天之前
父節點
當前提交
5711d2c5c8
共有 1 個檔案被更改,包括 0 行新增3 行删除
  1. +0
    -3
      src/platforms/rcore_desktop_glfw.c

+ 0
- 3
src/platforms/rcore_desktop_glfw.c 查看文件

@ -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

Loading…
取消
儲存