diff options
-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 c5fe3c3c113..583bda9731a 100644 --- a/intern/ghost/intern/GHOST_XrContext.cpp +++ b/intern/ghost/intern/GHOST_XrContext.cpp @@ -463,7 +463,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)) { |