瀏覽代碼

Revert "reset resizedLastFrame on web platform (#2020)" (#2032)

pull/2033/head
mausimus 3 年之前
committed by GitHub
父節點
當前提交
6541895901
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 2 行新增4 行删除
  1. +2
    -4
      src/rcore.c

+ 2
- 4
src/rcore.c 查看文件

@ -4724,6 +4724,8 @@ void PollInputEvents(void)
}
}
CORE.Window.resizedLastFrame = false;
#if defined(SUPPORT_EVENTS_WAITING)
glfwWaitEvents();
#else
@ -4731,10 +4733,6 @@ void PollInputEvents(void)
#endif
#endif // PLATFORM_DESKTOP
#if defined(PLATFORM_DESKTOP) || defined(PLATFORM_WEB)
CORE.Window.resizedLastFrame = false;
#endif
// Gamepad support using emscripten API
// NOTE: GLFW3 joystick functionality not available in web
#if defined(PLATFORM_WEB)

Loading…
取消
儲存