From 204318150108feec78df886df9cdd6ad43d49dc8 Mon Sep 17 00:00:00 2001 From: Vincent Lejeune Date: Fri, 30 Oct 2015 18:10:41 +0100 Subject: [PATCH] d3d12: Suppress a warning if no rtt is bound Rendering depth only is legal. --- rpcs3/Emu/RSX/D3D12/D3D12PipelineState.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/RSX/D3D12/D3D12PipelineState.cpp b/rpcs3/Emu/RSX/D3D12/D3D12PipelineState.cpp index 7ac7543c97..2ce50bc6aa 100644 --- a/rpcs3/Emu/RSX/D3D12/D3D12PipelineState.cpp +++ b/rpcs3/Emu/RSX/D3D12/D3D12PipelineState.cpp @@ -166,7 +166,7 @@ bool D3D12GSRender::load_program() prop.numMRT = 4; break; default: - LOG_ERROR(RSX, "Bad surface color target: %d", color_target); + break; } prop.DepthStencil.DepthEnable = !!(rsx::method_registers[NV4097_SET_DEPTH_TEST_ENABLE]);