diff options
author | Julian Eisel <julian@blender.org> | 2020-08-14 17:10:45 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2020-08-14 18:03:10 +0300 |
commit | 77e4905b171a57bfe6e4e92864747534cdba9f53 (patch) | |
tree | 10286d24f7afa0933e85a663215f82ddb53cfdba /intern | |
parent | d958ab62e760641056a56eb6521077556018a4b8 (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.cpp | 2 |
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()); |