Fixed bug with skipping draws. Furthest needed to be reset every loop
This commit is contained in:
parent
af3ccf7ac9
commit
50d9fa23b2
1 changed files with 2 additions and 2 deletions
|
@ -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())
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue