mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Identify image viewer use before adding API to analytics
This commit is contained in:
@@ -941,7 +941,11 @@ void CaptureContext::LoadCaptureThreaded(const QString &captureFile, const QStri
|
||||
LoadNotes(QString::fromUtf8((const char *)buf.data(), buf.count()));
|
||||
}
|
||||
QString driver = access->DriverName();
|
||||
if(!driver.isEmpty())
|
||||
if(driver == lit("Image"))
|
||||
{
|
||||
ANALYTIC_SET(UIFeatures.ImageViewer, true);
|
||||
}
|
||||
else if(!driver.isEmpty())
|
||||
{
|
||||
ANALYTIC_ADDUNIQ(APIs, driver);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user