mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 02:38:53 +01:00
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
This commit is contained in:
parent
edca32e520
commit
5899470511
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user