From 5705dc79fb03916a363e22756fc8869ec9a1d648 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Tue, 10 Nov 2020 22:12:26 +0900 Subject: [PATCH] graphicsdriver/metal: Do not need to wait until flushing at Sync --- internal/graphicsdriver/metal/graphics.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/graphicsdriver/metal/graphics.go b/internal/graphicsdriver/metal/graphics.go index 2a191ada1..0d57da99e 100644 --- a/internal/graphicsdriver/metal/graphics.go +++ b/internal/graphicsdriver/metal/graphics.go @@ -863,7 +863,7 @@ func (i *Image) Sync() <-chan struct{} { 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 // is necessary (#1337).