internal/graphicsdriver/metal: disable presentsWithTransaction in the fullscreen mode

Updates #1745
Closes #1974
This commit is contained in:
Hajime Hoshi 2022-01-26 03:55:11 +09:00
parent 11d01f4de1
commit d0a6ce6567

View File

@ -44,7 +44,10 @@ func (v *view) update() {
}
func (v *view) usePresentsWithTransaction() bool {
// Disable presentsWithTransaction on the fullscreen mode (#1745).
// Disable presentsWithTransaction on the fullscreen mode (#1745, #1974).
if v.fullscreen {
return false
}
return !v.vsyncDisabled
}