From 22f8e5196508c7075493c246edb9cb9cad097c45 Mon Sep 17 00:00:00 2001 From: Nicolas James Date: Mon, 30 Mar 2026 16:26:51 +1100 Subject: Force 'capability' to query anti_lag or low_latency2 based on EXPOSE_REFLEX env var --- src/device_context.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/device_context.cc') diff --git a/src/device_context.cc b/src/device_context.cc index e2f2a4a..c9f1fd5 100644 --- a/src/device_context.cc +++ b/src/device_context.cc @@ -14,8 +14,8 @@ DeviceContext::DeviceContext(InstanceContext& parent_instance, was_capability_requested(was_capability_requested), device(device), vtable(std::move(vtable)) { - // Only create our clock if we can support creating it. - if (this->physical_device.supports_required_extensions) { + // Only create our clock if we were asked to do anything. + if (this->was_capability_requested) { this->clock = std::make_unique(*this); } } -- cgit v1.2.3