d3d12: Suppress a warning if no rtt is bound

Rendering depth only is legal.
This commit is contained in:
Vincent Lejeune 2015-10-30 18:10:41 +01:00
parent a2f7f371dc
commit 2043181501

View File

@ -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]);