Explorar o código

web: clear resizedLastFrame (#2077)

mausimus %!s(int64=3) %!d(string=hai) anos
pai
achega
8f5bd3e185
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      src/rcore.c

+ 4 - 0
src/rcore.c

@@ -4849,6 +4849,10 @@ void PollInputEvents(void)
 #endif
 #endif  // PLATFORM_DESKTOP
 
+#if defined(PLATFORM_WEB)
+    CORE.Window.resizedLastFrame = false;
+#endif  // PLATFORM_WEB
+
 // Gamepad support using emscripten API
 // NOTE: GLFW3 joystick functionality not available in web
 #if defined(PLATFORM_WEB)