Fixed resizing issues on Windows
This commit is contained in:
parent
4f0b5dace4
commit
8a9e20f370
BIN
Ragnarokkr.exe
BIN
Ragnarokkr.exe
Binary file not shown.
|
@ -186,6 +186,8 @@ Fullscreen := false
|
||||||
toggle_fullscreen :: proc() {
|
toggle_fullscreen :: proc() {
|
||||||
monitor := rl.GetCurrentMonitor()
|
monitor := rl.GetCurrentMonitor()
|
||||||
rl.ToggleBorderlessWindowed()
|
rl.ToggleBorderlessWindowed()
|
||||||
|
WSizei = {rl.GetScreenWidth(), rl.GetScreenHeight()}
|
||||||
|
WSize = {f32(WSizei.x), f32(WSizei.y)}
|
||||||
Fullscreen = !Fullscreen
|
Fullscreen = !Fullscreen
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue