internal/graphicsdriver/metal: typo

This commit is contained in:
Hajime Hoshi 2023-10-28 02:43:57 +09:00
parent d91f328083
commit 61498e899a
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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)
}
}