Fixed resizing issues on Windows

This commit is contained in:
Vlad Rud 2024-10-13 19:23:20 +03:00
parent 4f0b5dace4
commit 8a9e20f370
2 changed files with 2 additions and 0 deletions

Binary file not shown.

View File

@ -186,6 +186,8 @@ Fullscreen := false
toggle_fullscreen :: proc() {
monitor := rl.GetCurrentMonitor()
rl.ToggleBorderlessWindowed()
WSizei = {rl.GetScreenWidth(), rl.GetScreenHeight()}
WSize = {f32(WSizei.x), f32(WSizei.y)}
Fullscreen = !Fullscreen