(video/d3d11): Fix shaders with scaled framebuffers

The scissor rectangle was left as whatever the core last used.
This commit is contained in:
Connor McLaughlin 2020-10-01 16:53:17 +10:00
parent 1e6828fd63
commit 10bbe119a7

View File

@ -1522,6 +1522,7 @@ static bool d3d11_gfx_frame(
#if 0
D3D11ClearRenderTargetView(context, d3d11->pass[i].rt.rt_view, d3d11->clearcolor);
#endif
d3d11_clear_scissor(d3d11, d3d11->pass[i].rt.desc.Width, d3d11->pass[i].rt.desc.Height);
D3D11SetViewports(context, 1, &d3d11->pass[i].viewport);
D3D11Draw(context, 4, 0);