Use start instead of end EID/DrawID for fake profile markers

* This causes the range in the event browser to show up properly as
  start-end instead of end-end.
This commit is contained in:
baldurk
2016-06-08 15:30:15 -07:00
parent 8538e045cb
commit e36f038827
+2 -2
View File
@@ -360,8 +360,8 @@ namespace renderdocui.Code
FetchDrawcall mark = new FetchDrawcall();
mark.eventID = draws[end].eventID;
mark.drawcallID = draws[end].drawcallID;
mark.eventID = draws[start].eventID;
mark.drawcallID = draws[start].drawcallID;
mark.markerColour = new float[] { 0.0f, 0.0f, 0.0f, 0.0f };
mark.context = draws[end].context;