소스 검색

web: clear resizedLastFrame (#2077)

mausimus 3 년 전
부모
커밋
8f5bd3e185
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  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)