aboutsummaryrefslogtreecommitdiff
path: root/src/device_context.hh
diff options
context:
space:
mode:
authorNicolas James <nj3ahxac@gmail.com>2026-03-10 22:41:39 +1100
committerNicolas James <nj3ahxac@gmail.com>2026-03-10 22:41:39 +1100
commitf10074d9897850b9b746ff8d8e0b2dc4af24f3ff (patch)
tree4609d86b8222115c3e3d19824748861cbec78e20 /src/device_context.hh
parent50f009b81218c5367031ce9c51089ecddc2e853a (diff)
Don't advertise anti lag if the PD doesn't support it
Diffstat (limited to 'src/device_context.hh')
-rw-r--r--src/device_context.hh4
1 files changed, 2 insertions, 2 deletions
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> 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.