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
+2 -2
View File
@@ -945,7 +945,7 @@ void scenes::stream::render(const XrFrameState & frame_state)
use_alpha = blit_handle->view_info.alpha;
#ifdef WIVRN_USE_V4L2
#if WIVRN_USE_V4L2
if (blit_handle->foreign_queue_family != vk::QueueFamilyIgnored)
{
// decoder completed its write before handing us this image
@@ -1105,7 +1105,7 @@ void scenes::stream::render(const XrFrameState & frame_state)
{bias, bias, bias, 0.},
image_index);
#ifdef WIVRN_USE_V4L2
#if WIVRN_USE_V4L2
// the blit handles keep CAPTURE buffers alive until this cmd buffer's fence has completed
inplace_vector<vk::ImageMemoryBarrier, decoder_count> foreign_release_barriers;
for (const auto & handle: current_blit_handles)