mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-20 19:11:11 +00:00
Fix copy-paste of rich resource text
* We need to cache to the QString text on demand, which requires a context potentially sooner than paint/etc time.
This commit is contained in:
8 files changed
+15
-11
No files matched your search
@@ -359,7 +359,7 @@ QPair<uint32_t, uint32_t> EventBrowser::AddDrawcalls(RDTreeWidgetItem *parent,
|
||||
|
||||
QVariant name = QString(d.name);
|
||||
|
||||
RichResourceTextInitialise(name);
|
||||
RichResourceTextInitialise(name, &m_Ctx);
|
||||
|
||||
RDTreeWidgetItem *child = new RDTreeWidgetItem(
|
||||
{name, QString::number(d.eventId), QString::number(d.drawcallId), lit("---")});
|
||||
|
||||
Reference in new issue
Block a user