Bug 1679232 - Remove shadowed variable. r=lsalzman

Differential Revision: https://phabricator.services.mozilla.com/D98270
This commit is contained in:
Matt Woodrow
2020-12-01 01:49:48 +00:00
parent 259170b50d
commit 71cf1fc5e9

View File

@@ -1081,7 +1081,6 @@ void DXGITextureHostD3D11::PushDisplayItems(
case gfx::SurfaceFormat::P016:
case gfx::SurfaceFormat::NV12: {
MOZ_ASSERT(aImageKeys.length() == 2);
bool supportsExternalCompositing = false;
// XXX Add P010 and P016 support.
if (GetFormat() == gfx::SurfaceFormat::NV12 &&
gfx::gfxVars::UseWebRenderDCompVideoOverlayWin()) {