Quick compile fix (#2234)

Signed-off-by: moudgils <moudgils@amazon.com>
This commit is contained in:
moudgils
2021-07-16 13:50:34 -07:00
committed by GitHub
parent ed788090d3
commit 00d9f4e25b
@@ -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];
}