mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-01 14:20:42 -07: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:
@@ -235,6 +235,12 @@ namespace sysutils {
|
||||
} else {
|
||||
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