mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user