diff options
author | mrsaturnsan <mrsaturnsan@gmail.com> | 2024-11-10 19:29:45 -0600 |
---|---|---|
committer | mrsaturnsan <mrsaturnsan@gmail.com> | 2024-11-12 21:19:38 -0600 |
commit | 376c6c0c7dc92f7eda78c7ff2fe7830c1b6bbfbc (patch) | |
tree | eb186daa50ee49ea4dcc9bc52d1969be2c4af14a /drivers/metal/rendering_device_driver_metal.h | |
parent | 0f5f3bc9546b46b2029fc8896dc859697f1eab97 (diff) | |
download | redot-engine-376c6c0c7dc92f7eda78c7ff2fe7830c1b6bbfbc.tar.gz |
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.h | 1 |
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 |