Skip to content

Commit

Permalink
Revive: Disable ovr_GetPerfStats.
Browse files Browse the repository at this point in the history
  • Loading branch information
CrossVR committed Aug 11, 2019
1 parent 02d791a commit dfd791d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Revive/REV_CAPI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,7 @@ typedef struct OVR_ALIGNAS(4) ovrPerfStats1_
OVR_PUBLIC_FUNCTION(ovrResult) ovr_GetPerfStats(ovrSession session, ovrPerfStats* outStats)
{
REV_TRACE(ovr_GetPerfStats);

#if 0
ovrPerfStatsPerCompositorFrame FrameStats[ovrMaxProvidedFrameStats];

// TODO: Implement performance scale heuristics
Expand Down Expand Up @@ -1002,7 +1002,7 @@ OVR_PUBLIC_FUNCTION(ovrResult) ovr_GetPerfStats(ovrSession session, ovrPerfStats
if (g_MinorVersion >= 14)
out->VisibleProcessId = vr::VRCompositor()->GetCurrentSceneFocusProcess();
}

#endif
return ovrSuccess;
}

Expand Down

0 comments on commit dfd791d

Please sign in to comment.