diff --git a/qrenderdoc/Windows/EventBrowser.cpp b/qrenderdoc/Windows/EventBrowser.cpp index b0e86c99a..2e6038f3d 100644 --- a/qrenderdoc/Windows/EventBrowser.cpp +++ b/qrenderdoc/Windows/EventBrowser.cpp @@ -296,7 +296,7 @@ void EventBrowser::SetDrawcallTimes(RDTreeWidgetItem *node, { SetDrawcallTimes(node->child(i), results); - double nd = node->tag().value().duration; + double nd = node->child(i)->tag().value().duration; if(nd > 0.0) duration += nd;