- fixed translucency determination.

This commit is contained in:
Christoph Oelckers 2019-12-30 21:03:15 +01:00
parent 6b431cec2c
commit 2c35f87925

View file

@ -594,7 +594,7 @@ FRenderStyle GetBlend(int blend, int def)
rs.BlendOp = STYLEOP_Add; rs.BlendOp = STYLEOP_Add;
glblenddef_t const* const glbdef = glblend[blend].def + def; glblenddef_t const* const glbdef = glblend[blend].def + def;
rs.SrcAlpha = blendFuncTokens[glbdef->src]; rs.SrcAlpha = blendFuncTokens[glbdef->src];
rs.SrcAlpha = blendFuncTokens[glbdef->dst]; rs.DestAlpha = blendFuncTokens[glbdef->dst];
rs.Flags = 0; rs.Flags = 0;
return rs; return rs;
} }