mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 10:00:40 +00:00
Add to HORRIBLE UGLY HACKY CODE to make sure barrier pips have outlines
This commit is contained in:
@@ -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], "");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user