Quick compile fix (#2234)
Signed-off-by: moudgils <moudgils@amazon.com>
This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user