mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-03-04 07:45:40 +00:00
[host] app: report the full capture name to the client
This commit is contained in:
parent
efa49391fc
commit
ccdf7b7c0e
2 changed files with 8 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -583,7 +583,7 @@ static bool newKVMFRData(KVMFRUserData * dst)
|
|||
const uint8_t * uuid = os_getUUID();
|
||||
memcpy(vmInfo.uuid, uuid, 16);
|
||||
|
||||
strncpy(vmInfo.capture, app.iface->shortName, sizeof(vmInfo.capture) - 1);
|
||||
strncpy(vmInfo.capture, app.iface->getName(), sizeof(vmInfo.capture) - 1);
|
||||
|
||||
const int modelLen = strlen(model) + 1;
|
||||
const KVMFRRecord record =
|
||||
|
|
Loading…
Add table
Reference in a new issue