mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Fix a crash if a barrier event happens not within a drawcall
This commit is contained in:
@@ -3793,7 +3793,7 @@ namespace renderdocui.Windows
|
||||
|
||||
// if the usage is different from the last, add a new entry,
|
||||
// or if the previous draw link is broken.
|
||||
if (u.usage != us || curDraw.previous == null)
|
||||
if (u.usage != us || curDraw == null || curDraw.previous == null)
|
||||
{
|
||||
distinct = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user