mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 02:38:53 +01:00
internal/graphicsdriver/metal: disable presentsWithTransaction in the fullscreen mode
Updates #1745 Closes #1974
This commit is contained in:
parent
11d01f4de1
commit
d0a6ce6567
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user