mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-12 04:50:35 +00:00
4dcb89966c
* When we figure out which event a marker region should jump to if you select the parent, we want to pick the last valid event ID that isn't just a label. However previously this was being done by iterating over the children and picking the last one and assuming there would be a node of that index - which isn't true in the case where some drawcalls were entirely omitted. It would either index out of bounds, or index incorrectly.