From 2c35f879252b24ae74bbfd34409aa52cb1fee295 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 30 Dec 2019 21:03:15 +0100 Subject: [PATCH] - fixed translucency determination. --- source/build/src/palette.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/build/src/palette.cpp b/source/build/src/palette.cpp index 45c02e267..f5204034c 100644 --- a/source/build/src/palette.cpp +++ b/source/build/src/palette.cpp @@ -594,7 +594,7 @@ FRenderStyle GetBlend(int blend, int def) rs.BlendOp = STYLEOP_Add; glblenddef_t const* const glbdef = glblend[blend].def + def; rs.SrcAlpha = blendFuncTokens[glbdef->src]; - rs.SrcAlpha = blendFuncTokens[glbdef->dst]; + rs.DestAlpha = blendFuncTokens[glbdef->dst]; rs.Flags = 0; return rs; }