From a2086ed4585c22279c14c6ae11570466ebcfbc76 Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Sat, 9 Jul 2016 10:03:21 +0200 Subject: [PATCH] gsdx profiler: drop latest frame time Value is out of the chart. I'm not even sure it is a real frame so let's just remove it. --- plugins/GSdx/GSDeviceOGL.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/GSdx/GSDeviceOGL.cpp b/plugins/GSdx/GSDeviceOGL.cpp index 656f5f3491..c31b8855e0 100644 --- a/plugins/GSdx/GSDeviceOGL.cpp +++ b/plugins/GSdx/GSDeviceOGL.cpp @@ -170,6 +170,9 @@ void GSDeviceOGL::GenerateProfilerData() time_start = time_end; } + // Latest value is often silly, just drop it + times.pop_back(); + glDeleteQueries(1 << 16, m_profiler.timer_query); double frames = times.size();