mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-23 23:16:31 +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
@@ -663,7 +663,7 @@ void MainWindow::LoadCapture(const QString &filename, bool temporary, bool local
|
||||
return;
|
||||
}
|
||||
|
||||
driver = QString::fromUtf8(file->DriverName());
|
||||
driver = file->DriverName();
|
||||
machineIdent = QString::fromUtf8(file->RecordedMachineIdent());
|
||||
support = file->LocalReplaySupport();
|
||||
|
||||
@@ -796,10 +796,6 @@ void MainWindow::LoadCapture(const QString &filename, bool temporary, bool local
|
||||
{
|
||||
ANALYTIC_SET(UIFeatures.ImageViewer, true);
|
||||
}
|
||||
else if(!driver.isEmpty())
|
||||
{
|
||||
ANALYTIC_ADDUNIQ(APIs, driver);
|
||||
}
|
||||
|
||||
m_Ctx.LoadCapture(fileToLoad, origFilename, temporary, local);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user