diff --git a/renderdocui/Windows/TimelineBar.cs b/renderdocui/Windows/TimelineBar.cs index 194453855..69e7f242c 100644 --- a/renderdocui/Windows/TimelineBar.cs +++ b/renderdocui/Windows/TimelineBar.cs @@ -171,16 +171,23 @@ namespace renderdocui.Windows { uptri[1] = new PointF(x + width / 2.0f, y + height - 2); update = false; + type = 1; } if (type == 4) { uptri[0] = new PointF(x + width / 2.0f, y + height - 2); + type = 1; } if (type == 5) { update = false; + type = 1; + } + if (type == 6) + { + update = false; + type = 2; } - type = 1; } if (x - lastPipX[type] > pipRadius*2.0f) @@ -609,6 +616,9 @@ namespace renderdocui.Windows int type = 2; + if (u.usage == ResourceUsage.Barrier) + type = 6; + DrawPip(g, barcol, highlightBarRect, type, d, s.draws.Count, start, widths[i], ""); } }