graphicsdriver/metal: Misspelling

This commit is contained in:
Hajime Hoshi 2020-11-03 23:44:40 +09:00
parent cd779b678a
commit 8da5ad2c4f

View File

@ -839,7 +839,7 @@ func (i *Image) IsInvalidated() bool {
}
func (i *Image) syncTexture() {
// Calling SynchronizeTexture is ignored on iOS (see mtl.m), but it looks like committing BliCommandEncoder
// Calling SynchronizeTexture is ignored on iOS (see mtl.m), but it looks like committing BlitCommandEncoder
// is necessary (#1337).
if i.graphics.cb != (mtl.CommandBuffer{}) {
panic("metal: command buffer must be empty at syncTexture: flushIfNeeded is not called yet?")