fixed windows bugs
This commit is contained in:
parent
ad826b3b43
commit
b403befe74
3 changed files with 11 additions and 2 deletions
3
main.go
3
main.go
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue