Move *_supported into xr::system

This commit is contained in:
Patrick Nicolas
2025-08-20 22:07:08 +02:00
parent d2ea30e70f
commit 68edc66fb7
12 changed files with 76 additions and 66 deletions
+1 -1
View File
@@ -344,7 +344,7 @@ void xr::session::enable_passthrough(xr::system & system)
if (not std::holds_alternative<std::monostate>(passthrough))
return;
if (system.passthrough_supported() == xr::system::passthrough_type::no_passthrough)
if (system.passthrough_supported() == xr::passthrough_type::none)
return;
if (utils::contains(application::get_xr_extensions(), XR_FB_PASSTHROUGH_EXTENSION_NAME))