mirror of
https://gitlab.freedesktop.org/mesa/vulkan-wsi-layer.git
synced 2025-12-26 20:20:09 +01:00
Merge 'Fix check for present_id feature in present timing' into 'main'
See merge request mesa/vulkan-wsi-layer!182
This commit is contained in:
commit
ba93b67fb6
1 changed files with 1 additions and 1 deletions
|
|
@ -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.");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue