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
path: root/intern
diff options
context:
space:
mode:
authorJulian Eisel <julian@blender.org>2020-08-14 17:10:45 +0300
committerJulian Eisel <julian@blender.org>2020-08-14 18:03:10 +0300
commit77e4905b171a57bfe6e4e92864747534cdba9f53 (patch)
tree10286d24f7afa0933e85a663215f82ddb53cfdba /intern
parentd958ab62e760641056a56eb6521077556018a4b8 (diff)
Fix --debug-xr not outputting OpenXR debug prints on Windows
The OpenXR debug extension was disabled on Windows as a workaround. This was an old leftover from when there was only the Windows Mixed Reality runtime on Windows. The debug extension didn't work for it and we didn't have a way to disable it just for Windows Mixed Reality. Now it seems to work though, so we remove the workaround. If specific runtimes still have trouble with the extension, we can disable it specifically for these runtimes now.
Diffstat (limited to 'intern')
-rw-r--r--intern/ghost/intern/GHOST_XrContext.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/intern/ghost/intern/GHOST_XrContext.cpp b/intern/ghost/intern/GHOST_XrContext.cpp
index 6933103a2d6..0d8d42a72f7 100644
--- a/intern/ghost/intern/GHOST_XrContext.cpp
+++ b/intern/ghost/intern/GHOST_XrContext.cpp
@@ -408,11 +408,9 @@ void GHOST_XrContext::getExtensionsToEnable(
std::vector<std::string> try_ext;
/* Try enabling debug extension. */
-#ifndef WIN32
if (isDebugMode()) {
try_ext.push_back(XR_EXT_DEBUG_UTILS_EXTENSION_NAME);
}
-#endif
r_ext_names.reserve(try_ext.size() + graphics_binding_types.size());