mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 18:58:54 +01:00
internal/ui: remove a redundant call to close a window
glfw.Terminate should close the window too. This might fix the issue so let's wait and see. Updates #2551
This commit is contained in:
parent
68775cf065
commit
7315044dcf
@ -1013,7 +1013,6 @@ func (u *userInterfaceImpl) update() (float64, float64, error) {
|
||||
|
||||
func (u *userInterfaceImpl) loopGame() error {
|
||||
defer u.mainThread.Call(func() {
|
||||
u.window.Destroy()
|
||||
glfw.Terminate()
|
||||
})
|
||||
for {
|
||||
|
Loading…
Reference in New Issue
Block a user