mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 726797 - Multi-GPU Detection Broken on Windows Gecko 11. r=ajuma
This commit is contained in:
parent
ea6a592439
commit
95fbe4385d
@ -511,6 +511,10 @@ GfxInfo::Init()
|
||||
driverDate2 = value;
|
||||
dwcbData = sizeof(value);
|
||||
result = RegQueryValueExW(key, L"Device Description", NULL, NULL, (LPBYTE)value, &dwcbData);
|
||||
if (result != ERROR_SUCCESS) {
|
||||
dwcbData = sizeof(value);
|
||||
result = RegQueryValueExW(key, L"DriverDesc", NULL, NULL, (LPBYTE)value, &dwcbData);
|
||||
}
|
||||
RegCloseKey(key);
|
||||
if (result == ERROR_SUCCESS) {
|
||||
mHasDualGPU = true;
|
||||
|
Loading…
Reference in New Issue
Block a user