From f10074d9897850b9b746ff8d8e0b2dc4af24f3ff Mon Sep 17 00:00:00 2001 From: Nicolas James Date: Tue, 10 Mar 2026 22:41:39 +1100 Subject: Don't advertise anti lag if the PD doesn't support it --- src/device_context.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/device_context.hh') diff --git a/src/device_context.hh b/src/device_context.hh index 37817d5..b4a337b 100644 --- a/src/device_context.hh +++ b/src/device_context.hh @@ -53,9 +53,9 @@ struct DeviceContext final : public Context { void calibrate(); time_point_t ticks_to_time(const std::uint64_t& ticks) const; }; - Clock clock; + std::unique_ptr clock; - std::uint32_t antilag_fps = 0; + std::uint32_t antilag_fps = 0; // TODO VkAntiLagModeAMD antilag_mode = VK_ANTI_LAG_MODE_DRIVER_CONTROL_AMD; // The queue used in the last present. -- cgit v1.2.3