Set WIVRN_USE_V4L2 in wivrn_config.h

This commit is contained in:
Patrick Nicolas
2026-09-29 19:22:33 +02:00
committed by xytovl
parent 24e4eba130
commit 07131bec85
6 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -900,7 +900,7 @@ void application::initialize_vulkan()
optional_device_extensions.emplace(VK_KHR_TIMELINE_SEMAPHORE_EXTENSION_NAME);
optional_device_extensions.emplace(VK_EXT_FRAGMENT_DENSITY_MAP_EXTENSION_NAME);
#ifdef WIVRN_USE_V4L2
#if WIVRN_USE_V4L2
// V4L2 decoders expose their output through DMA-buf
optional_device_extensions.emplace(VK_KHR_EXTERNAL_MEMORY_FD_EXTENSION_NAME);
optional_device_extensions.emplace(VK_EXT_EXTERNAL_MEMORY_DMA_BUF_EXTENSION_NAME);