mirror of
https://github.com/libretro/RetroArch
synced 2025-03-17 10:21:26 +00:00
(video/d3d11): Fix shaders with scaled framebuffers
The scissor rectangle was left as whatever the core last used.
This commit is contained in:
parent
1e6828fd63
commit
10bbe119a7
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user