Fix summing of durations in event browser

This commit is contained in:
baldurk
2017-06-03 00:46:11 +01:00
parent 3b6f63be0d
commit 63bf0310d3
+1 -1
View File
@@ -296,7 +296,7 @@ void EventBrowser::SetDrawcallTimes(RDTreeWidgetItem *node,
{
SetDrawcallTimes(node->child(i), results);
double nd = node->tag().value<EventItemTag>().duration;
double nd = node->child(i)->tag().value<EventItemTag>().duration;
if(nd > 0.0)
duration += nd;