[host] app: report the full capture name to the client

This commit is contained in:
Geoffrey McRae
2022-01-26 19:32:55 +11:00
parent efa49391fc
commit ccdf7b7c0e
2 changed files with 8 additions and 2 deletions

View File

@@ -64,7 +64,13 @@ static CaptureResult dxgi_releaseFrame();
static const char * dxgi_getName(void)
{
return "DXGI";
if (!this)
return "DXGI";
static char name[64];
snprintf(name, sizeof(name), "DXGI %s", this->backend->name);
return name;
}
static void dxgi_initOptions(void)