mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-11-30 19:16:41 -08:00
utils: log primary display adapter (#508)
## Description of change Log a message so you can tell which display adapter is primary.
This commit is contained in:
1 parent
6bf7ae9074
commit
9be618d791
1 file changed
+6
@@ -235,6 +235,12 @@ namespace sysutils {
|
|||||||
} else {
|
} else {
|
||||||
log_misc("gpuinfo", "EnumDisplaySettingsA failed");
|
log_misc("gpuinfo", "EnumDisplaySettingsA failed");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
log_misc(
|
||||||
|
"gpuinfo", "{} {} is primary : {}",
|
||||||
|
prefix.c_str(),
|
||||||
|
index,
|
||||||
|
(adapter->StateFlags & DISPLAY_DEVICE_PRIMARY_DEVICE) ? "yes" : "no");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user