Remove redundant mutexes

setup_reprojection_swapchain is already called in the same thread as
rendering.
This commit is contained in:
Patrick Nicolas
2025-02-07 13:35:05 +01:00
parent 5fd77f3b39
commit f24d51334b
3 changed files with 1 additions and 5 deletions
+1 -1
View File
@@ -1071,7 +1071,7 @@ void scenes::stream::setup(const to_headset::video_stream_description & descript
void scenes::stream::setup_reprojection_swapchain()
{
std::scoped_lock lock(application::instance().render_mutex, decoder_mutex);
std::unique_lock lock(decoder_mutex);
device.waitIdle();
swapchains.clear();