mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 00:35:44 +00:00
Bug 1163454 - Follow up to fix bustage. CLOSED TREE
This commit is contained in:
parent
b7b584a47e
commit
0c2873b860
@ -132,7 +132,7 @@ public:
|
||||
NS_IMETHOD Run() {
|
||||
NS_ASSERTION(NS_IsMainThread(), "Must be on main thread.");
|
||||
if (mBackend == LayersBackend::LAYERS_D3D11 &&
|
||||
Preference::GetBool("media.windows-media-foundation.allow-d3d11-dxva", false) &&
|
||||
Preferences::GetBool("media.windows-media-foundation.allow-d3d11-dxva", false) &&
|
||||
IsWin8OrLater()) {
|
||||
mDXVA2Manager = DXVA2Manager::CreateD3D11DXVA();
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user