mirror of https://github.com/PCSX2/pcsx2.git
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.
This commit is contained in:
parent
82d83ca579
commit
a2086ed458
|
@ -170,6 +170,9 @@ void GSDeviceOGL::GenerateProfilerData()
|
||||||
time_start = time_end;
|
time_start = time_end;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Latest value is often silly, just drop it
|
||||||
|
times.pop_back();
|
||||||
|
|
||||||
glDeleteQueries(1 << 16, m_profiler.timer_query);
|
glDeleteQueries(1 << 16, m_profiler.timer_query);
|
||||||
|
|
||||||
double frames = times.size();
|
double frames = times.size();
|
||||||
|
|
Loading…
Reference in New Issue