Don't make a blocking call to the UI from render thread

This commit is contained in:
baldurk
2017-02-13 15:19:55 +00:00
parent 99fc18e162
commit fa33d883ac
+1 -2
View File
@@ -267,8 +267,7 @@ void EventBrowser::on_timeDraws_clicked()
rdctype::array<CounterResult> results;
r->FetchCounters(counters, 1, &results);
GUIInvoke::blockcall(
[this, results]() { SetDrawcallTimes(ui->events->topLevelItem(0), results); });
GUIInvoke::call([this, results]() { SetDrawcallTimes(ui->events->topLevelItem(0), results); });
});
}