mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix warning when compiling on Linux with WITH_XR_OPENXR enabled
This commit is contained in:
parent
b3c08a3a0a
commit
04f703fca6
1 changed files with 1 additions and 1 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue