mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 18:58:54 +01:00
graphicsdriver/metal: Do not need to wait until flushing at Sync
This commit is contained in:
parent
99b4a3096a
commit
5705dc79fb
@ -863,7 +863,7 @@ func (i *Image) Sync() <-chan struct{} {
|
|||||||
return i.sync
|
return i.sync
|
||||||
}
|
}
|
||||||
|
|
||||||
i.graphics.flushIfNeeded(true, false)
|
i.graphics.flushIfNeeded(false, false)
|
||||||
|
|
||||||
// Calling SynchronizeTexture is ignored on iOS (see mtl.m), but it looks like committing BlitCommandEncoder
|
// Calling SynchronizeTexture is ignored on iOS (see mtl.m), but it looks like committing BlitCommandEncoder
|
||||||
// is necessary (#1337).
|
// is necessary (#1337).
|
||||||
|
Loading…
Reference in New Issue
Block a user