mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-23 14:15:42 +00:00
Set analytics APIs for remote capture file and replay
The API used was not populated for the case of remote capture and replay.
This commit is contained in:
committed by
Baldur Karlsson
parent
4923aa9d88
commit
e21ddb4877
@@ -939,6 +939,11 @@ void CaptureContext::LoadCaptureThreaded(const QString &captureFile, const QStri
|
||||
bytebuf buf = access->GetSectionContents(idx);
|
||||
LoadNotes(QString::fromUtf8((const char *)buf.data(), buf.count()));
|
||||
}
|
||||
QString driver = access->DriverName();
|
||||
if(!driver.isEmpty())
|
||||
{
|
||||
ANALYTIC_ADDUNIQ(APIs, driver);
|
||||
}
|
||||
}
|
||||
|
||||
m_LoadInProgress = false;
|
||||
|
||||
Reference in New Issue
Block a user