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 18:58:05 +0300
committerJulian Eisel <julian@blender.org>2020-08-14 18:58:05 +0300
commite037c7230dc09c258b9c55537f697df7ba0d7f74 (patch)
tree5ab884e3f5cb947b970abe7f9f54ed9519806cca /intern
parente8dfe91767bd87c0499de1edbc721ef928e893d7 (diff)
parent04f703fca6db8a18449230e5662cfa8da8827db3 (diff)
Merge branch 'blender-v2.90-release'
Diffstat (limited to 'intern')
-rw-r--r--intern/ghost/intern/GHOST_XrContext.cpp2
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)) {