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:
vlj 2015-06-16 15:55:04 +02:00 committed by Vincent Lejeune
parent 09ccd7e436
commit f59bc86ac5
1 changed files with 4 additions and 4 deletions

View File

@ -850,8 +850,8 @@ void D3D12GSRender::ExecCMD()
{
0.f,
0.f,
(float)RSXThread::m_width,
(float)RSXThread::m_height,
(float)m_surface_clip_w,
(float)m_surface_clip_h,
-1.f,
1.f
};
@ -861,8 +861,8 @@ void D3D12GSRender::ExecCMD()
{
0,
0,
(LONG)RSXThread::m_width,
(LONG)RSXThread::m_height,
(LONG)m_surface_clip_w,
(LONG)m_surface_clip_h,
};
commandList->RSSetScissorRects(1, &box);