Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Providers/Display/Display.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -758,9 +758,9 @@ bool OpenVRDisplayProvider::SubmitToCompositor( vr::EVREye eEye, int nStage )
tex.eColorSpace = vr::ColorSpace_Auto;

// Check if we have a valid depth buffer
if (m_pNativeDepthTextures[eEye][nStage])
{
tex.depth.handle = m_pNativeDepthTextures[eEye][nStage];
if (m_pNativeDepthTextures[nStage][nTexIndex])
{
tex.depth.handle = m_pNativeDepthTextures[nStage][nTexIndex];
}

if ( !m_bIsOverlayApplication )
Expand Down Expand Up @@ -1158,7 +1158,7 @@ void *OpenVRDisplayProvider::GetNativeEyeTexture( int stage, int eye )
return m_pNativeColorTextures[stage][eye];
}


void OpenVRDisplayProvider::ReleaseOverlayPointers()
{
#ifndef __linux__
Expand Down