Skip to content

Commit

Permalink
Merge pull request #8241 from stenzek/dekotora
Browse files Browse the repository at this point in the history
EFB2Tex: Set alpha channel of Z24X8 copies to 1
  • Loading branch information
stenzek committed Jul 18, 2019
2 parents 5d66377 + f269c4c commit 9825caf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/VideoCommon/TextureConverterShaderGen.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 9825caf

Please sign in to comment.