mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-07-18 10:32:38 +00:00
Print the GPU driver version on Windows
This commit is contained in:
parent
54885c3e5f
commit
7ca2ca8045
@ -364,6 +364,13 @@ bool DXVA2Renderer::isDecoderBlacklisted()
|
|||||||
id.Description,
|
id.Description,
|
||||||
id.VendorId,
|
id.VendorId,
|
||||||
id.DeviceId);
|
id.DeviceId);
|
||||||
|
SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION,
|
||||||
|
"GPU driver: %s %d.%d.%d.%d",
|
||||||
|
id.Driver,
|
||||||
|
HIWORD(id.DriverVersion.HighPart),
|
||||||
|
LOWORD(id.DriverVersion.HighPart),
|
||||||
|
HIWORD(id.DriverVersion.LowPart),
|
||||||
|
LOWORD(id.DriverVersion.LowPart));
|
||||||
|
|
||||||
if (id.VendorId == 0x8086) {
|
if (id.VendorId == 0x8086) {
|
||||||
// Intel seems to encode the series in the high byte of
|
// Intel seems to encode the series in the high byte of
|
||||||
|
Loading…
x
Reference in New Issue
Block a user