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 <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2021-09-23 15:24:00 +02:00
parent 94f7fa3218
commit 8c6e3c5fdf
-1
View File
@@ -62,7 +62,6 @@ static void presentDrawable(CFTypeRef queueRef, CFTypeRef drawableRef) {
id<MTLCommandBuffer> cmdBuffer = [queue commandBuffer];
[cmdBuffer presentDrawable:drawable];
[cmdBuffer commit];
[cmdBuffer waitUntilCompleted];
}
}