From 50d9fa23b27499a0ea98f1ddc969abad140bb988 Mon Sep 17 00:00:00 2001 From: Andy Adshead Date: Fri, 1 Feb 2019 00:13:31 +0000 Subject: [PATCH] Fixed bug with skipping draws. Furthest needed to be reset every loop --- Ryujinx.Profiler/UI/ProfileWindowGraph.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Ryujinx.Profiler/UI/ProfileWindowGraph.cs b/Ryujinx.Profiler/UI/ProfileWindowGraph.cs index c1a41618e9..9e1a13caaf 100644 --- a/Ryujinx.Profiler/UI/ProfileWindowGraph.cs +++ b/Ryujinx.Profiler/UI/ProfileWindowGraph.cs @@ -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()) {