d3d12: Suppress a warning if no rtt is bound
Rendering depth only is legal.
This commit is contained in:
@@ -166,7 +166,7 @@ bool D3D12GSRender::load_program()
|
|||||||
prop.numMRT = 4;
|
prop.numMRT = 4;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
LOG_ERROR(RSX, "Bad surface color target: %d", color_target);
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
prop.DepthStencil.DepthEnable = !!(rsx::method_registers[NV4097_SET_DEPTH_TEST_ENABLE]);
|
prop.DepthStencil.DepthEnable = !!(rsx::method_registers[NV4097_SET_DEPTH_TEST_ENABLE]);
|
||||||
|
|||||||
Reference in New Issue
Block a user