From e530014d6a0729a9abbb2d340aa7efee39357153 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Wed, 12 Feb 2025 09:59:44 +0100 Subject: [PATCH] Disable passthrough in stream when not used --- client/scenes/stream.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/scenes/stream.cpp b/client/scenes/stream.cpp index d63d6416..684b14ec 100644 --- a/client/scenes/stream.cpp +++ b/client/scenes/stream.cpp @@ -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++) {