diff --git a/gfx/layers/d3d11/CompositorD3D11.cpp b/gfx/layers/d3d11/CompositorD3D11.cpp index 36c5825d8c0c..f5f53f43f3ff 100644 --- a/gfx/layers/d3d11/CompositorD3D11.cpp +++ b/gfx/layers/d3d11/CompositorD3D11.cpp @@ -1415,13 +1415,6 @@ CompositorD3D11::EndFrame() return; } - if (mDevice->GetDeviceRemovedReason() != S_OK) { - gfxCriticalNote << "GFX: D3D11 skip EndFrame with device-removed."; - Compositor::EndFrame(); - mCurrentRT = nullptr; - return; - } - LayoutDeviceIntSize oldSize = mSize; EnsureSize(); if (mSize.width <= 0 || mSize.height <= 0) {