fixed windows bugs
Some checks failed
/ test-on-windows (push) Failing after 9s
/ test-on-alpine (push) Successful in 1m14s

This commit is contained in:
partisan 2025-01-21 23:31:53 +01:00
parent ad826b3b43
commit b403befe74
3 changed files with 11 additions and 2 deletions

View file

@ -30,6 +30,9 @@ const finalStep = 3
func main() {
monitor := rl.GetCurrentMonitor()
if monitor < 0 {
monitor = 0 // Fallback to the primary monitor
}
screenW := rl.GetMonitorWidth(monitor)
screenH := rl.GetMonitorHeight(monitor)