- reversed sub and revsub in LLVM drawers

This commit is contained in:
Rachael Alexanderson 2016-12-22 03:21:56 -05:00
commit ea1aeb3cdc
2 changed files with 3 additions and 3 deletions

View file

@ -185,7 +185,7 @@ void RenderPolySprite::Render(const TriMatrix &worldToClip, const Vec4f &clipPla
{
args.uniforms.destalpha = (uint32_t)(1.0 * 256);
args.uniforms.srcalpha = (uint32_t)(thing->Alpha * 256);
blendmode = args.translation ? TriBlendMode::TranslateSub : TriBlendMode::Sub;
blendmode = args.translation ? TriBlendMode::TranslateRevSub : TriBlendMode::RevSub;
}
else if (thing->RenderStyle == LegacyRenderStyles[STYLE_SoulTrans])
{