Преглед изворни кода

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

pull/2033/head
mausimus пре 4 година
committed by GitHub
родитељ
комит
6541895901
No known key found for this signature in database GPG Key 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) #if defined(SUPPORT_EVENTS_WAITING)
glfwWaitEvents(); glfwWaitEvents();
#else #else
@ -4731,10 +4733,6 @@ void PollInputEvents(void)
#endif #endif
#endif // PLATFORM_DESKTOP #endif // PLATFORM_DESKTOP
#if defined(PLATFORM_DESKTOP) || defined(PLATFORM_WEB)
CORE.Window.resizedLastFrame = false;
#endif
// Gamepad support using emscripten API // Gamepad support using emscripten API
// NOTE: GLFW3 joystick functionality not available in web // NOTE: GLFW3 joystick functionality not available in web
#if defined(PLATFORM_WEB) #if defined(PLATFORM_WEB)

Loading…
Откажи
Сачувај