Browse Source

web: clear resizedLastFrame (#2077)

mausimus 3 years ago
parent
commit
8f5bd3e185
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/rcore.c

+ 4 - 0
src/rcore.c

@@ -4849,6 +4849,10 @@ void PollInputEvents(void)
 #endif
 #endif
 #endif  // PLATFORM_DESKTOP
 #endif  // PLATFORM_DESKTOP
 
 
+#if defined(PLATFORM_WEB)
+    CORE.Window.resizedLastFrame = false;
+#endif  // PLATFORM_WEB
+
 // 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)