Skip to content
Permalink
Browse files

EFB2Tex: Set alpha channel of Z24X8 copies to 1

Matches EFB2RAM.
  • Loading branch information...
stenzek committed Jul 14, 2019
1 parent 5d66377 commit f269c4c7988413d8562c6a552888d09cc169b616
Showing with 1 addition and 1 deletion.
  1. +1 −1 Source/Core/VideoCommon/TextureConverterShaderGen.cpp
@@ -190,7 +190,7 @@ ShaderCode GeneratePixelShader(APIType api_type, const UidData* uid_data)
break;

case EFBCopyFormat::RGBA8: // Z24X8
out.Write(" ocol0 = float4(texcol.rgb, 0.0);\n");
out.Write(" ocol0 = float4(texcol.rgb, 1.0);\n");
break;

case EFBCopyFormat::G8: // Z8M

0 comments on commit f269c4c

Please sign in to comment.
You can’t perform that action at this time.