Skip to content

Commit

Permalink
ReviveXR: Enable requesting depth buffer submission.
Browse files Browse the repository at this point in the history
  • Loading branch information
CrossVR committed Jan 18, 2021
1 parent 0fdda1f commit dec1765
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ReviveXR/REV_CAPI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -325,9 +325,8 @@ OVR_PUBLIC_FUNCTION(ovrResult) ovr_GetSessionStatus(ovrSession session, ovrSessi
sessionStatus->ShouldRecenter = status.ShouldRecenter;
sessionStatus->HasInputFocus = status.HasInputFocus;
sessionStatus->OverlayPresent = status.OverlayPresent;
#if 0 // TODO: Re-enable once we figure out why this crashes Arktika.1
sessionStatus->DepthRequested = session->Extensions->CompositionDepth;
#endif
if (Runtime::Get().MinorVersion > 20)
sessionStatus->DepthRequested = Runtime::Get().CompositionDepth;

return ovrSuccess;
}
Expand Down

0 comments on commit dec1765

Please sign in to comment.