summaryrefslogtreecommitdiffstats
path: root/drivers/metal/rendering_device_driver_metal.h
diff options
context:
space:
mode:
authorThaddeus Crews <repiteo@outlook.com>2024-11-14 14:51:49 -0600
committerThaddeus Crews <repiteo@outlook.com>2024-11-14 14:51:49 -0600
commit48d13ca11b0acb0334c3c16d25f3da7ee6f09096 (patch)
tree48ea8388119464f73435c6fbc47c8369b1f35ab9 /drivers/metal/rendering_device_driver_metal.h
parent76fa7b291455a8ba24c50005072ebdb58f8a5984 (diff)
parent376c6c0c7dc92f7eda78c7ff2fe7830c1b6bbfbc (diff)
downloadredot-engine-48d13ca11b0acb0334c3c16d25f3da7ee6f09096.tar.gz
Merge pull request #99041 from mrsaturnsan/metal_frame_pacing
Use afterMinimumDuration to correct frame pacing
Diffstat (limited to 'drivers/metal/rendering_device_driver_metal.h')
-rw-r--r--drivers/metal/rendering_device_driver_metal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/metal/rendering_device_driver_metal.h b/drivers/metal/rendering_device_driver_metal.h
index e238de958e..09ab7601e9 100644
--- a/drivers/metal/rendering_device_driver_metal.h
+++ b/drivers/metal/rendering_device_driver_metal.h
@@ -220,6 +220,7 @@ public:
virtual FramebufferID swap_chain_acquire_framebuffer(CommandQueueID p_cmd_queue, SwapChainID p_swap_chain, bool &r_resize_required) override final;
virtual RenderPassID swap_chain_get_render_pass(SwapChainID p_swap_chain) override final;
virtual DataFormat swap_chain_get_format(SwapChainID p_swap_chain) override final;
+ virtual void swap_chain_set_max_fps(SwapChainID p_swap_chain, int p_max_fps) override final;
virtual void swap_chain_free(SwapChainID p_swap_chain) override final;
#pragma mark - Frame Buffer