summaryrefslogtreecommitdiffstats
path: root/drivers/metal/rendering_context_driver_metal.mm
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/metal/rendering_context_driver_metal.mm')
-rw-r--r--drivers/metal/rendering_context_driver_metal.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/metal/rendering_context_driver_metal.mm b/drivers/metal/rendering_context_driver_metal.mm
index 07f6736e5d..a3022e0bdb 100644
--- a/drivers/metal/rendering_context_driver_metal.mm
+++ b/drivers/metal/rendering_context_driver_metal.mm
@@ -174,7 +174,7 @@ public:
count--;
front = (front + 1) % frame_buffers.size();
- [p_cmd_buffer->get_command_buffer() presentDrawable:drawable];
+ [p_cmd_buffer->get_command_buffer() presentDrawable:drawable afterMinimumDuration:present_minimum_duration];
}
};