diff options
author | Julian Eisel <julian@blender.org> | 2020-08-14 18:57:24 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2020-08-26 11:55:44 +0300 |
commit | 38ae24102003654b1e7073dd77c4ef38e0ff8b67 (patch) | |
tree | b9a85daee52224a78103a0cc5422ae6f046d1fad | |
parent | 3a5ef928961b1324f3524199fd6fca9cb8c98549 (diff) |
Fix warning when compiling on Linux with WITH_XR_OPENXR enabled
-rw-r--r-- | intern/ghost/intern/GHOST_XrContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/ghost/intern/GHOST_XrContext.cpp b/intern/ghost/intern/GHOST_XrContext.cpp index a33c7bc6a30..4136255fd9e 100644 --- a/intern/ghost/intern/GHOST_XrContext.cpp +++ b/intern/ghost/intern/GHOST_XrContext.cpp @@ -462,7 +462,7 @@ GHOST_TXrGraphicsBinding GHOST_XrContext::determineGraphicsBindingTypeToUse( { /* Return the first working type. */ for (GHOST_TXrGraphicsBinding type : enabled_types) { -#if WIN32 +#ifdef WIN32 /* The SteamVR OpenGL backend fails currently. Disable it and allow falling back to the DirectX * one. */ if ((m_runtime_id == OPENXR_RUNTIME_STEAMVR) && (type == GHOST_kXrGraphicsOpenGL)) { |