[Bf-blender-cvs] [c506acf2fc3] soc-2019-openxr: Add Oculus to the list of known runtimes

Julian Eisel noreply at git.blender.org
Sat Aug 24 03:36:05 CEST 2019


Commit: c506acf2fc33751bd15a4d0829deafa771fb9bc6
Author: Julian Eisel
Date:   Sat Aug 24 03:34:48 2019 +0200
Branches: soc-2019-openxr
https://developer.blender.org/rBc506acf2fc33751bd15a4d0829deafa771fb9bc6

Add Oculus to the list of known runtimes

With this, all currently available runtimes are in the runtime map. So
removing the TODO comment.

===================================================================

M	intern/ghost/intern/GHOST_XrContext.cpp

===================================================================

diff --git a/intern/ghost/intern/GHOST_XrContext.cpp b/intern/ghost/intern/GHOST_XrContext.cpp
index 777b1ac4d0e..37a8204fae6 100644
--- a/intern/ghost/intern/GHOST_XrContext.cpp
+++ b/intern/ghost/intern/GHOST_XrContext.cpp
@@ -117,8 +117,8 @@ void GHOST_XrContext::createOpenXRInstance()
 void GHOST_XrContext::storeInstanceProperties()
 {
   const std::map<std::string, GHOST_TXrOpenXRRuntimeID> runtime_map{
-      // TODO other runtimes?
       {"Monado(XRT) by Collabora et al", OPENXR_RUNTIME_MONADO},
+      {"Oculus", OPENXR_RUNTIME_OCULUS},
       {"Windows Mixed Reality Runtime", OPENXR_RUNTIME_WMR}};
   decltype(runtime_map)::const_iterator runtime_map_iter;



More information about the Bf-blender-cvs mailing list