Automatically enable passthrough if color passthrough is supported

This commit is contained in:
Guillaume Meunier
2024-03-16 20:05:57 +01:00
parent b60c1f7b61
commit 3a02198156
9 changed files with 74 additions and 28 deletions
+1 -1
View File
@@ -383,7 +383,7 @@ void scenes::lobby::gui_settings()
}
vibrate_on_hover();
ImGui::BeginDisabled(!passthrough_supported);
ImGui::BeginDisabled(passthrough_supported == xr::system::passthrough_type::no_passthrough);
if (ImGui::Checkbox("Enable video passthrough in lobby", &passthrough_enabled))
{
save_config();