Merge branch 'blender-v2.90-release'

This commit is contained in:
Julian Eisel 2020-08-14 17:58:05 +02:00
commit e037c7230d
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {