Skip to content

Commit 29d2a09

Browse files
committed
Revert "Fix for wrong depth eye submisson"
This reverts commit f876809.
1 parent f876809 commit 29d2a09

File tree

8 files changed

+4
-18
lines changed

8 files changed

+4
-18
lines changed

Providers/Display/Display.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -758,9 +758,9 @@ bool OpenVRDisplayProvider::SubmitToCompositor( vr::EVREye eEye, int nStage )
758758
tex.eColorSpace = vr::ColorSpace_Auto;
759759

760760
// Check if we have a valid depth buffer
761-
if (m_pNativeDepthTextures[nStage][nTexIndex])
761+
if (m_pNativeDepthTextures[eEye][nStage])
762762
{
763-
tex.depth.handle = m_pNativeDepthTextures[nStage][nTexIndex];
763+
tex.depth.handle = m_pNativeDepthTextures[eEye][nStage];
764764
}
765765

766766
if ( !m_bIsOverlayApplication )
16.5 KB
Binary file not shown.
8.45 KB
Binary file not shown.
14.1 KB
Binary file not shown.
-4.09 MB
Binary file not shown.
-104 KB
Binary file not shown.

x64/Release/ALL_BUILD/ALL_BUILD.recipe

-14
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
PlatformToolSet=v142:VCToolArchitecture=Native64Bit:VCToolsVersion=14.29.30133:VCServicingVersionATL=14.29.30136:VCServicingVersionCrtHeaders=14.29.30136:VCServicingVersionCompilers=14.29.30136:TargetPlatformVersion=10.0.18362.0:
2-
Release|x64|D:\GitHub\unity-xr-plugin\|
1+
PlatformToolSet=v142:VCToolArchitecture=Native64Bit:VCToolsVersion=14.28.29333:TargetPlatformVersion=10.0.17763.0:
2+
Release|x64|D:\a\unity-xr-plugin\unity-xr-plugin\|

0 commit comments

Comments
 (0)