зеркало из https://github.com/mozilla/gecko-dev.git
Bug 759643: Only check for D3D 10.0 support when selecting a DXGI 1.1 adapter. r=roc
This commit is contained in:
Родитель
d2bb6613fd
Коммит
8c640d8015
|
@ -495,10 +495,12 @@ gfxWindowsPlatform::VerifyD2DDevice(bool aAttemptForce)
|
|||
hr = factory1->EnumAdapters1(0, getter_AddRefs(adapter1));
|
||||
|
||||
if (SUCCEEDED(hr) && adapter1) {
|
||||
hr = adapter1->CheckInterfaceSupport(__uuidof(ID3D10Device1),
|
||||
hr = adapter1->CheckInterfaceSupport(__uuidof(ID3D10Device),
|
||||
nsnull);
|
||||
if (FAILED(hr)) {
|
||||
adapter1 = nsnull;
|
||||
// We should return and not accelerate if we don't have
|
||||
// D3D 10.0 support.
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче