mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-08-04 23:30:44 +00:00
d3d12: Fix scaling for terraria/Voodoo chronicles
It break render_to_target test but it looks like an issue with scale/offset buffer rather than viewport/scissor
This commit is contained in:
parent
09ccd7e436
commit
f59bc86ac5
1 changed files with 4 additions and 4 deletions
|
@ -850,8 +850,8 @@ void D3D12GSRender::ExecCMD()
|
||||||
{
|
{
|
||||||
0.f,
|
0.f,
|
||||||
0.f,
|
0.f,
|
||||||
(float)RSXThread::m_width,
|
(float)m_surface_clip_w,
|
||||||
(float)RSXThread::m_height,
|
(float)m_surface_clip_h,
|
||||||
-1.f,
|
-1.f,
|
||||||
1.f
|
1.f
|
||||||
};
|
};
|
||||||
|
@ -861,8 +861,8 @@ void D3D12GSRender::ExecCMD()
|
||||||
{
|
{
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
(LONG)RSXThread::m_width,
|
(LONG)m_surface_clip_w,
|
||||||
(LONG)RSXThread::m_height,
|
(LONG)m_surface_clip_h,
|
||||||
};
|
};
|
||||||
commandList->RSSetScissorRects(1, &box);
|
commandList->RSSetScissorRects(1, &box);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue