[rlsw] Some platform fixes (#5720)

* fix drm with rlsw

* fix window resizing with sdl

* fix window resizing with win32
This commit is contained in:
Le Juez Victor
2026-04-04 16:47:33 +02:00
committed by GitHub
parent 6ff51d3a2a
commit 138ef838d9
3 changed files with 9 additions and 7 deletions

View File

@ -2091,6 +2091,10 @@ static void HandleWindowResize(HWND hwnd, int *width, int *height)
CORE.Window.screenScale = MatrixScale( (float)CORE.Window.render.width/CORE.Window.screen.width,
(float)CORE.Window.render.height/CORE.Window.screen.height, 1.0f);
#if defined(GRAPHICS_API_OPENGL_SOFTWARE)
swResize(clientSize.cx, clientSize.cy);
#endif
}
// Update window style