Fixed bug with skipping draws. Furthest needed to be reset every loop

This commit is contained in:
Andy Adshead 2019-02-01 00:13:31 +00:00
commit 50d9fa23b2

View file

@ -47,12 +47,12 @@ namespace Ryujinx.Profiler.UI
}
GL.End();
int furthest = 0;
// Draw bars
GL.Begin(PrimitiveType.Triangles);
foreach (var entry in _sortedProfileData)
{
int furthest = 0;
GL.Color3(Color.Green);
foreach (Timestamp timestamp in entry.Value.GetAllTimestamps())
{