diff --git a/src/d3d11/d3d11_context.cpp b/src/d3d11/d3d11_context.cpp index c2b1eb4b..4f4271e3 100644 --- a/src/d3d11/d3d11_context.cpp +++ b/src/d3d11/d3d11_context.cpp @@ -3613,7 +3613,7 @@ namespace dxvk { void D3D11DeviceContext::RestoreState() { - BindFramebuffer(false); + BindFramebuffer(m_state.om.maxUav > 0); BindShader (GetCommonShader(m_state.vs.shader.ptr())); BindShader (GetCommonShader(m_state.hs.shader.ptr()));