mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1105088 - Disable D3D9 on Vista or later Windows versions. r=jrmuizel
This commit is contained in:
parent
f448b65305
commit
e5368c7800
@ -6750,7 +6750,10 @@ nsWindow::GetPreferredCompositorBackends(nsTArray<LayersBackend>& aHints)
|
||||
if (!prefs.mPreferD3D9) {
|
||||
aHints.AppendElement(LayersBackend::LAYERS_D3D11);
|
||||
}
|
||||
aHints.AppendElement(LayersBackend::LAYERS_D3D9);
|
||||
if (prefs.mPreferD3D9 || !mozilla::IsVistaOrLater()) {
|
||||
// We don't want D3D9 except on Windows XP
|
||||
aHints.AppendElement(LayersBackend::LAYERS_D3D9);
|
||||
}
|
||||
}
|
||||
aHints.AppendElement(LayersBackend::LAYERS_BASIC);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user