MTLCommandBuffer present(MTLDrawable, afterMinimumDuration: CFTimeInterval) is not found in XCode 12 GM. The following function of MTLCommandBuffer throws compilation error.
Incorrect argument label in call (have ':afterMinimumDuration:', expected ':atTime:')
What is the fix?
Code Block commandBuffer.present(drawable, afterMinimumDuration: 1.0/Double(self.preferredFramespersecond)
Incorrect argument label in call (have ':afterMinimumDuration:', expected ':atTime:')
What is the fix?