From d344eeae70f1e64f7a4523232019e45a59d58246 Mon Sep 17 00:00:00 2001 From: Iason Paraskevopoulos Date: Fri, 18 Jul 2025 15:26:54 +0100 Subject: [PATCH] Fix check for present_id feature in present timing Signed-off-by: Iason Paraskevopoulos Change-Id: I04f02372758d64ec8230d6f0ba9a6b5f882668cd --- wsi/extensions/present_timing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wsi/extensions/present_timing.cpp b/wsi/extensions/present_timing.cpp index 5d10af0..06a3a63 100644 --- a/wsi/extensions/present_timing.cpp +++ b/wsi/extensions/present_timing.cpp @@ -62,7 +62,7 @@ wsi_ext_present_timing::wsi_ext_present_timing(const util::allocator &allocator, , m_present_semaphore(allocator) , m_timestamp_period(0.f) { - if (layer::device_private_data::get(m_device).is_present_id_enabled()) + if (!layer::device_private_data::get(m_device).is_present_id_enabled()) { WSI_LOG_ERROR(VK_EXT_PRESENT_TIMING_EXTENSION_NAME " enabled but required extension " VK_KHR_PRESENT_ID_EXTENSION_NAME " is not enabled.");