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
parent af3ccf7ac9
commit 50d9fa23b2

View file

@ -46,13 +46,13 @@ namespace Ryujinx.Profiler.UI
GL.Vertex2(x, Height);
}
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())
{