Work around to fix mouse positioning on scaled window

This commit is contained in:
Maicon Santana
2025-08-15 10:57:44 +01:00
parent 705ce45a33
commit 73950befca

View File

@@ -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;