Skip to content
This repository was archived by the owner on Nov 30, 2020. It is now read-only.

Commit 88a5c33

Browse files
committed
Fixed wrong XR namespace in 2017.2
1 parent 5937b40 commit 88a5c33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PostProcessing/Runtime/Utils/RuntimeUtilities.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ public static bool isSinglePassStereoEnabled
236236
&& UnityEditor.PlayerSettings.stereoRenderingPath == UnityEditor.StereoRenderingPath.SinglePass
237237
&& Application.isPlaying;
238238
#elif UNITY_2017_2_OR_NEWER
239-
return UnityEngine.XRSettings.eyeTextureDesc.vrUsage == VRTextureUsage.TwoEyes;
239+
return UnityEngine.XR.XRSettings.eyeTextureDesc.vrUsage == VRTextureUsage.TwoEyes;
240240
#else
241241
return false;
242242
#endif

0 commit comments

Comments
 (0)