- fixed translucency determination.

This commit is contained in:
Christoph Oelckers 2019-12-30 21:03:15 +01:00
parent 6b431cec2c
commit 2c35f87925
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}