mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 11:18:54 +01:00
internal/graphicsdriver/metal: change the maximum drawable count to 2
Updates #2822
This commit is contained in:
parent
f6ffd86ca8
commit
80301eb29e
@ -82,7 +82,7 @@ func (v *view) initialize(device mtl.Device) error {
|
||||
// presentsWithTransaction doesn't work with vsync off (#1196).
|
||||
// nextDrawable took more than one second if the window has other controls like NSTextView (#1029).
|
||||
v.ml.SetPresentsWithTransaction(false)
|
||||
v.ml.SetMaximumDrawableCount(3)
|
||||
v.ml.SetMaximumDrawableCount(2)
|
||||
|
||||
return nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user