Disable passthrough in stream when not used

This commit is contained in:
Patrick Nicolas
2025-02-12 10:12:19 +01:00
parent 2f1eef2675
commit e530014d6a
+2
View File
@@ -824,6 +824,8 @@ void scenes::stream::render(const XrFrameState & frame_state)
}},
session.get_passthrough());
}
else
session.disable_passthrough();
for (size_t swapchain_index = 0; swapchain_index < view_count; swapchain_index++)
{