Fixed resizing issues on Windows

This commit is contained in:
Vlad Rud committed 2024-10-13 19:23:20 +03:00
1 parent 4f0b5dace4
commit 8a9e20f370
2 files changed
+2

No files matched your search

BIN
View File
Binary file not shown.
+2
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