mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 18:58:54 +01:00
parent
cae9e39453
commit
7ea1ab6b58
@ -773,7 +773,7 @@ func (u *userInterface) currentMonitor() *glfw.Monitor {
|
||||
ww, wh := w.GetSize()
|
||||
wr := image.Rect(wx, wy, wx+ww, wy+wh)
|
||||
|
||||
best := 0
|
||||
best := -1
|
||||
var current *glfw.Monitor
|
||||
for _, m := range glfw.GetMonitors() {
|
||||
mx, my := m.GetPos()
|
||||
|
Loading…
Reference in New Issue
Block a user