From 9906bb8abeca8d562c08524d9f16bf2e7ae4a51a Mon Sep 17 00:00:00 2001 From: Andy Adshead Date: Sat, 2 Feb 2019 10:28:03 +0000 Subject: [PATCH] Fixed bug with scrolling caused by recent rendering optimisations. Simply forgot to increment the line index on a skipped line --- Ryujinx.Profiler/UI/ProfileWindowGraph.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Ryujinx.Profiler/UI/ProfileWindowGraph.cs b/Ryujinx.Profiler/UI/ProfileWindowGraph.cs index 7f14459a36..5918c50b91 100644 --- a/Ryujinx.Profiler/UI/ProfileWindowGraph.cs +++ b/Ryujinx.Profiler/UI/ProfileWindowGraph.cs @@ -62,7 +62,10 @@ namespace Ryujinx.Profiler.UI // Skip rendering out of bounds bars if (top < 0 || bottom > Height) + { + verticalIndex++; continue; + } GL.Color3(Color.Green);