diff options
author | sPlopM <sylvain.magdelaine@ubisoft.com> | 2020-05-14 18:39:58 +0300 |
---|---|---|
committer | sPlopM <sylvain.magdelaine@ubisoft.com> | 2020-05-14 18:39:58 +0300 |
commit | 9976bd76d993846ffa4dfd3502ec58e74f1d14bc (patch) | |
tree | bcc8dc35d3488e8c9cceec83c66e4c9131021b23 | |
parent | 4449f53786fb1920e83aff7fc32259786e85ab48 (diff) |
fixed device detectionxr-world-navigation
-rw-r--r-- | intern/ghost/intern/GHOST_XrSession.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/intern/ghost/intern/GHOST_XrSession.cpp b/intern/ghost/intern/GHOST_XrSession.cpp index 58ad8e0619a..76c24a16fd1 100644 --- a/intern/ghost/intern/GHOST_XrSession.cpp +++ b/intern/ghost/intern/GHOST_XrSession.cpp @@ -72,6 +72,7 @@ struct OculusTouchProfile { }; enum class OpenXrProfile { + UNKNOWN, OCULUS_TOUCH }; @@ -87,7 +88,7 @@ struct OpenXRSessionData { std::vector<XrView> views; std::vector<GHOST_XrSwapchain> swapchains; - OpenXrProfile detectedProfile; + OpenXrProfile detectedProfile = OpenXrProfile::UNKNOWN; OculusTouchProfile oculusTouchProfile; }; |