Skip to content

Commit 67502b9

Browse files
committed
Properly wrap with WMR_ENABLED
1 parent e9259fd commit 67502b9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Assets/MRTK/Providers/WindowsMixedReality/XRSDK/WindowsMixedRealityDeviceManager.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,12 @@ private bool IsActiveLoader
5555
{
5656
get
5757
{
58+
#if WMR_ENABLED
5859
if (!isActiveLoader.HasValue)
5960
{
6061
isActiveLoader = IsLoaderActive("Windows MR Loader");
6162
}
63+
#endif // WMR_ENABLED
6264

6365
return isActiveLoader ?? false;
6466
}

0 commit comments

Comments
 (0)