From f269c4c7988413d8562c6a552888d09cc169b616 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Mon, 15 Jul 2019 00:17:10 +1000 Subject: [PATCH] EFB2Tex: Set alpha channel of Z24X8 copies to 1 Matches EFB2RAM. --- Source/Core/VideoCommon/TextureConverterShaderGen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/VideoCommon/TextureConverterShaderGen.cpp b/Source/Core/VideoCommon/TextureConverterShaderGen.cpp index 9bbb4e2892..c1935c64b5 100644 --- a/Source/Core/VideoCommon/TextureConverterShaderGen.cpp +++ b/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