mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-14 16:19:17 +00:00
Add to HORRIBLE UGLY HACKY CODE to make sure barrier pips have outlines
This commit is contained in:
1 parent
949f2df9f4
commit
9cb37bfb4f
1 file changed
+11
-1
@@ -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