mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Bug 726797 - Multi-GPU Detection Broken on Windows Gecko 11. r=ajuma
This commit is contained in:
parent
14ee138e59
commit
b7318e3fe9
@ -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