We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0d3524 commit 061b94eCopy full SHA for 061b94e
PostProcessing/Runtime/Utils/RuntimeUtilities.cs
@@ -781,7 +781,7 @@ public static bool isSinglePassStereoEnabled
781
{
782
#if UNITY_EDITOR
783
return isSinglePassStereoSelected && Application.isPlaying;
784
-#elif UNITY_SWITCH
+#elif !ENABLE_VR
785
return false;
786
#elif UNITY_2017_2_OR_NEWER
787
return UnityEngine.XR.XRSettings.eyeTextureDesc.vrUsage == VRTextureUsage.TwoEyes;
@@ -800,7 +800,7 @@ public static bool isVREnabled
800
801
802
return UnityEditor.PlayerSettings.virtualRealitySupported;
803
-#elif UNITY_XBOXONE || UNITY_SWITCH
+#elif UNITY_XBOXONE || !ENABLE_VR
804
805
806
return UnityEngine.XR.XRSettings.enabled;
0 commit comments