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
|
@ -47,12 +47,12 @@ namespace Ryujinx.Profiler.UI
|
||||||
}
|
}
|
||||||
GL.End();
|
GL.End();
|
||||||
|
|
||||||
int furthest = 0;
|
|
||||||
|
|
||||||
// Draw bars
|
// Draw bars
|
||||||
GL.Begin(PrimitiveType.Triangles);
|
GL.Begin(PrimitiveType.Triangles);
|
||||||
foreach (var entry in _sortedProfileData)
|
foreach (var entry in _sortedProfileData)
|
||||||
{
|
{
|
||||||
|
int furthest = 0;
|
||||||
|
|
||||||
GL.Color3(Color.Green);
|
GL.Color3(Color.Green);
|
||||||
foreach (Timestamp timestamp in entry.Value.GetAllTimestamps())
|
foreach (Timestamp timestamp in entry.Value.GetAllTimestamps())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue