diff --git a/src/platforms/rcore_web.c b/src/platforms/rcore_web.c index a50710da2..2712aa142 100644 --- a/src/platforms/rcore_web.c +++ b/src/platforms/rcore_web.c @@ -1822,6 +1822,8 @@ static EM_BOOL EmscriptenResizeCallback(int eventType, const EmscriptenUiEvent * CORE.Window.screen.width = width; CORE.Window.screen.height = height; + glfwSetWindowSize(platform.handle, CORE.Window.screen.width, CORE.Window.screen.height); + // NOTE: Postprocessing texture is not scaled to new size return 0;