diff --git a/Gems/Atom/RHI/Metal/Code/Source/Platform/iOS/RHI/Metal_RHI_iOS.cpp b/Gems/Atom/RHI/Metal/Code/Source/Platform/iOS/RHI/Metal_RHI_iOS.cpp index 007655a93e..33adce8b59 100644 --- a/Gems/Atom/RHI/Metal/Code/Source/Platform/iOS/RHI/Metal_RHI_iOS.cpp +++ b/Gems/Atom/RHI/Metal/Code/Source/Platform/iOS/RHI/Metal_RHI_iOS.cpp @@ -39,7 +39,7 @@ namespace Platform { //seconds per frame (1/refreshrate) * num frames (sync interval) float presentAfterMinimumDuration = syncInterval / refreshRate; - if (hasPresentAfterMinimumDuration > 0.0f) + if (presentAfterMinimumDuration > 0.0f) { [mtlCommandBuffer presentDrawable:drawable afterMinimumDuration:presentAfterMinimumDuration]; }