diff --git a/src/renderer_d3d11.cpp b/src/renderer_d3d11.cpp index 3386dfc07..cde4b3d0d 100644 --- a/src/renderer_d3d11.cpp +++ b/src/renderer_d3d11.cpp @@ -2224,6 +2224,9 @@ BX_PRAGMA_DIAGNOSTIC_POP(); } else { + m_deviceCtx->ClearState(); + m_deviceCtx->Flush(); + if (resize) { m_deviceCtx->OMSetRenderTargets(1, s_zero.m_rtv, NULL);