From 8c6e3c5fdfcdd204742f00de26e18085c161cf58 Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Thu, 23 Sep 2021 15:24:00 +0200 Subject: [PATCH] app: [Metal] don't wait for completion of presentation command There's no need to wait; the Metal backend performs the required synchronization. Signed-off-by: Elias Naur --- app/metal_darwin.go | 1 - 1 file changed, 1 deletion(-) diff --git a/app/metal_darwin.go b/app/metal_darwin.go index d65a0ed4..012bd2fc 100644 --- a/app/metal_darwin.go +++ b/app/metal_darwin.go @@ -62,7 +62,6 @@ static void presentDrawable(CFTypeRef queueRef, CFTypeRef drawableRef) { id cmdBuffer = [queue commandBuffer]; [cmdBuffer presentDrawable:drawable]; [cmdBuffer commit]; - [cmdBuffer waitUntilCompleted]; } }