Timers: Minor fixes

This commit is contained in:
Connor McLaughlin
2019-09-27 00:03:28 +10:00
parent 792ec27b1a
commit 7ec3343ee6
4 changed files with 21 additions and 18 deletions

View File

@ -61,7 +61,9 @@ void GPU_HW_OpenGL::RenderUI()
ImGui::End();
m_stats = {};
// skip update when no batches were drawn in that frame.. for now
if (m_stats.num_batches > 0)
m_stats = {};
}
void GPU_HW_OpenGL::InvalidateVRAMReadCache()