mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-31 11:51:04 +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:
@@ -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