From 00d9f4e25bcdecd1ab719a464cb63c76eed58cb6 Mon Sep 17 00:00:00 2001 From: moudgils <47460854+moudgils@users.noreply.github.com> Date: Fri, 16 Jul 2021 13:50:34 -0700 Subject: [PATCH] Quick compile fix (#2234) Signed-off-by: moudgils --- .../RHI/Metal/Code/Source/Platform/iOS/RHI/Metal_RHI_iOS.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; }