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:
Hajime Hoshi 2023-02-15 14:36:26 +09:00
parent 68775cf065
commit 7315044dcf

View File

@ -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 {