mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 19:28:57 +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 {
|
func (u *userInterfaceImpl) loopGame() error {
|
||||||
defer u.mainThread.Call(func() {
|
defer u.mainThread.Call(func() {
|
||||||
u.window.Destroy()
|
|
||||||
glfw.Terminate()
|
glfw.Terminate()
|
||||||
})
|
})
|
||||||
for {
|
for {
|
||||||
|
Loading…
Reference in New Issue
Block a user