mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-12 20:18:59 +01:00
internal/graphicsdriver/metal: typo
This commit is contained in:
parent
d91f328083
commit
61498e899a
@ -707,7 +707,7 @@ func (g *Graphics) MaxImageSize() int {
|
||||
return g.maxImageSize
|
||||
}
|
||||
|
||||
// supportsFeatureSet is deprecated but some old macOS/iOS versions supports only this (#2553).
|
||||
// supportsFeatureSet is deprecated but some old macOS/iOS versions support only this (#2553).
|
||||
switch {
|
||||
case d.SupportsFeatureSet(mtl.FeatureSet_iOS_GPUFamily5_v1):
|
||||
g.maxImageSize = 16384
|
||||
|
@ -57,7 +57,7 @@ func (v *view) forceSetDisplaySyncEnabled(enabled bool) {
|
||||
// Apparently 2 makes FPS half. Use 3.
|
||||
v.ml.SetMaximumDrawableCount(3)
|
||||
} else {
|
||||
// Use 2 in usual case not to cause rendering delays (#2822).
|
||||
// Use 2 in a usual case not to cause rendering delays (#2822).
|
||||
v.ml.SetMaximumDrawableCount(2)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user