mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1264062 - Don't bother checking which accelerated layer. r=milan, a=test-only
From 3add8735ef0fe8a9bd68aee8f6b65f3e96997296 Mon Sep 17 00:00:00 2001 types are available if they're all disabled by pref --- gfx/thebes/gfxPlatform.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
This commit is contained in:
parent
9d74cf299c
commit
5433b0b99d
@ -1998,7 +1998,7 @@ InitLayersAccelerationPrefs()
|
||||
if (gfxPrefs::LayersAccelerationForceEnabled()) {
|
||||
sLayersSupportsD3D9 = true;
|
||||
sLayersSupportsD3D11 = true;
|
||||
} else if (gfxInfo) {
|
||||
} else if (!gfxPrefs::LayersAccelerationDisabled() && gfxInfo) {
|
||||
if (NS_SUCCEEDED(gfxInfo->GetFeatureStatus(nsIGfxInfo::FEATURE_DIRECT3D_9_LAYERS, &status))) {
|
||||
if (status == nsIGfxInfo::FEATURE_STATUS_OK) {
|
||||
if (sPrefBrowserTabsRemoteAutostart && !IsVistaOrLater()) {
|
||||
|
Loading…
Reference in New Issue
Block a user