1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 10:42:36 +01:00

d3d12: Fix depth range

This commit is contained in:
Vincent Lejeune 2015-11-01 01:07:15 +01:00
parent ae5d95d462
commit 917f08c534

View File

@ -346,8 +346,8 @@ void D3D12GSRender::end()
0.f,
(float)clip_w,
(float)clip_h,
-1.f,
1.f
(f32&)rsx::method_registers[NV4097_SET_CLIP_MIN],
(f32&)rsx::method_registers[NV4097_SET_CLIP_MAX]
};
getCurrentResourceStorage().command_list->RSSetViewports(1, &viewport);