From dfd791dd5eddec82796f47cbef4e31529dd0b20d Mon Sep 17 00:00:00 2001 From: Jules Blok Date: Sun, 11 Aug 2019 02:13:57 +0100 Subject: [PATCH] Revive: Disable ovr_GetPerfStats. --- Revive/REV_CAPI.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Revive/REV_CAPI.cpp b/Revive/REV_CAPI.cpp index 21ac56f9..2aa2cf5d 100644 --- a/Revive/REV_CAPI.cpp +++ b/Revive/REV_CAPI.cpp @@ -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 @@ -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; }