adds bitmap coloration to: guibitmapctrl, guibitmapbarctrl, guianimbitmapctrl (and guicrosshairhud by way of inheritance)

This commit is contained in:
Azaezel 2016-07-06 02:15:46 -05:00
parent b012ffff17
commit f8368cd7e9
4 changed files with 8 additions and 2 deletions

View file

@ -269,6 +269,7 @@ void guiAnimBitmapCtrl::onRender(Point2I offset, const RectI &updateRect)
}
GFX->getDrawUtil()->clearBitmapModulation();
GFX->getDrawUtil()->setBitmapModulation(mColor);
GFXTextureObject* texture = mTextureObject;