summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authormausimus <[email protected]>2021-10-23 08:52:36 +0000
committerGitHub <[email protected]>2021-10-23 10:52:36 +0200
commit8f5bd3e185e147ff1359d1a481dd9a3638a5dc7b (patch)
treec756345663aadda486fc2ddbd6e9fa1447825604 /src
parentfcc6a61d9e92bc392d2afb4baaa257befed32b2a (diff)
downloadraylib-8f5bd3e185e147ff1359d1a481dd9a3638a5dc7b.tar.gz
raylib-8f5bd3e185e147ff1359d1a481dd9a3638a5dc7b.zip
web: clear resizedLastFrame (#2077)
Diffstat (limited to 'src')
-rw-r--r--src/rcore.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rcore.c b/src/rcore.c
index e3e20d21..2bdc454d 100644
--- a/src/rcore.c
+++ b/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)