diff --git a/src/platforms/rcore_web.c b/src/platforms/rcore_web.c index 9156f1599..02aa54ee0 100644 --- a/src/platforms/rcore_web.c +++ b/src/platforms/rcore_web.c @@ -1824,6 +1824,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;