D3D11HostDisplay: Make screenshots/display rendering opaque

This commit is contained in:
Connor McLaughlin
2021-04-28 02:36:19 +10:00
parent ad59cf6974
commit e6383286d9
2 changed files with 31 additions and 20 deletions

View File

@ -4,5 +4,5 @@ SamplerState samp0_ss : register(s0);
void main(in float2 v_tex0 : TEXCOORD0,
out float4 o_col0 : SV_Target)
{
o_col0 = samp0.Sample(samp0_ss, v_tex0);
o_col0 = float4(samp0.Sample(samp0_ss, v_tex0).rgb, 1.0);
}