diff --git a/libobs-d3d11/d3d11-subsystem.cpp b/libobs-d3d11/d3d11-subsystem.cpp index e3a35e7e4..ed4033a21 100644 --- a/libobs-d3d11/d3d11-subsystem.cpp +++ b/libobs-d3d11/d3d11-subsystem.cpp @@ -2362,6 +2362,9 @@ void device_present(gs_device_t *device) { gs_swap_chain *const curSwapChain = device->curSwapChain; if (curSwapChain) { + device->context->OMSetRenderTargets(0, nullptr, nullptr); + device->curFramebufferInvalidate = true; + const UINT interval = curSwapChain->hWaitable ? 1 : 0; const HRESULT hr = curSwapChain->swap->Present(interval, 0); if (hr == DXGI_ERROR_DEVICE_REMOVED ||