From 58994705116239132c17fc83e7ab3487be862728 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Wed, 9 Feb 2022 23:59:36 +0900 Subject: [PATCH] internal/ui: enable vsync even when resizing the window Now I couldn't see the issue. Probably the implementation of internal/graphicsdriver/metal has changed since the last fix, but I am not sure. Updates #1740 Closes #1954 --- internal/ui/ui_glfw.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/internal/ui/ui_glfw.go b/internal/ui/ui_glfw.go index 3d098b1eb..edf52103b 100644 --- a/internal/ui/ui_glfw.go +++ b/internal/ui/ui_glfw.go @@ -747,9 +747,6 @@ func (u *UserInterface) registerWindowSetSizeCallback() { } if err := u.runOnAnotherThreadFromMainThread(func() error { - // Disable Vsync temporarily. On macOS, getting a next frame can get stuck (#1740). - Graphics().SetVsyncEnabled(false) - var outsideWidth, outsideHeight float64 u.t.Call(func() {