Remove debugging

This commit is contained in:
Ali 2023-11-11 12:38:30 +04:00
parent 88a0fd7a81
commit c2c0584dc9

View File

@ -954,7 +954,6 @@ public final class MetalEngine {
} }
} }
#if DEBUG
#if targetEnvironment(simulator) #if targetEnvironment(simulator)
if #available(iOS 13.0, *) { if #available(iOS 13.0, *) {
if let drawable = self.layer.nextDrawable() { if let drawable = self.layer.nextDrawable() {
@ -966,7 +965,6 @@ public final class MetalEngine {
commandBuffer.present(drawable) commandBuffer.present(drawable)
} }
#endif #endif
#endif
commandBuffer.commit() commandBuffer.commit()
commandBuffer.waitUntilScheduled() commandBuffer.waitUntilScheduled()