diff options
author | Julian Eisel <julian@blender.org> | 2020-08-14 18:57:24 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2020-08-14 18:57:24 +0300 |
commit | 04f703fca6db8a18449230e5662cfa8da8827db3 (patch) | |
tree | 0224ada4103ee934ce62468f13688d45c3d8410d /intern | |
parent | b3c08a3a0a9b0cd9e66bbf4bdeeedb6c2c5e7c76 (diff) |
Fix warning when compiling on Linux with WITH_XR_OPENXR enabled
Diffstat (limited to 'intern')
-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 3dbf539f0c7..6bbb6ea1bcc 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)) { |