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