mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
parent
3fe1df8b3b
commit
2a5b5b4823
@ -1478,6 +1478,7 @@ func (u *userInterfaceImpl) restoreWindow() {
|
||||
if runtime.GOOS != "darwin" {
|
||||
for u.window.GetAttrib(glfw.Maximized) == glfw.True || u.window.GetAttrib(glfw.Iconified) == glfw.True {
|
||||
glfw.PollEvents()
|
||||
time.Sleep(time.Second / 60)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user