Fixed: Alpha channel with 0 is correct, don't change it

This commit is contained in:
kervala 2016-01-05 12:52:45 +01:00
parent 2c049078bc
commit c1a7684179

View file

@ -670,8 +670,8 @@ static void BuildColoredVersionForOneBitmap(const CBuildInfo &bi, const std::str
{
uint8 value = 0;
// texture can be converted if all alphas are 0 or 255
if (srcBitmap.isAlphaUniform(&value) && (value == 255 || value == 0))
// texture can be converted if all alphas are 255
if (srcBitmap.isAlphaUniform(&value) && value == 255)
{
if (bi.OptimizeTextures > 1)
{