Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--intern/ghost/intern/GHOST_XrSession.cpp3
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;
};