Fix raw encoding

This commit is contained in:
Patrick Nicolas
2026-02-06 23:11:51 +01:00
parent 5d87ce04fc
commit 1398b9ebfd
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ std::pair<bool, vk::Semaphore> wivrn::video_encoder_raw::present_image(vk::Image
vk::ImageLayout::eTransferSrcOptimal,
buffers[slot],
std::span(regions.data(),
stream_idx == 2 ? 2 : 1));
stream_idx < 2 ? 2 : 1));
return {false, nullptr};
}