Fixed undefined behavior in drawing of status bar graphics

Debug configuration built with Apple's Clang had bogus render styles applied to graphics in status bar
This commit is contained in:
alexey.lysiuk 2017-04-02 11:38:59 +03:00
parent 659f75c84a
commit 5187acd44f

View file

@ -1592,7 +1592,8 @@ void DBaseStatusBar::DrawGraphic(FTextureID texture, double x, double y, int fla
DTA_ColorOverlay, (flags & DI_DIM) ? MAKEARGB(170, 0, 0, 0) : 0,
DTA_Alpha, Alpha,
DTA_AlphaChannel, !!(flags & DI_ALPHAMAPPED),
DTA_FillColor, (flags & DI_ALPHAMAPPED) ? 0 : -1);
DTA_FillColor, (flags & DI_ALPHAMAPPED) ? 0 : -1,
TAG_DONE);
}