From dfa968863af10268a66d4daac28b3f340698dfbc Mon Sep 17 00:00:00 2001 From: raven02 Date: Sat, 9 Jul 2016 01:00:15 +0800 Subject: [PATCH] DX12: get_scissor() fix (#1868) --- rpcs3/Emu/RSX/D3D12/D3D12Formats.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpcs3/Emu/RSX/D3D12/D3D12Formats.cpp b/rpcs3/Emu/RSX/D3D12/D3D12Formats.cpp index 518d79a15f..35549795a2 100644 --- a/rpcs3/Emu/RSX/D3D12/D3D12Formats.cpp +++ b/rpcs3/Emu/RSX/D3D12/D3D12Formats.cpp @@ -493,8 +493,8 @@ D3D12_RECT get_scissor(u16 clip_origin_x, u16 clip_origin_y, u16 clip_w, u16 cli return{ clip_origin_x, clip_origin_y, - clip_w, - clip_h, + clip_origin_x + clip_w, + clip_origin_y + clip_h, }; } #endif