Merge pull request #386 from Azaezel/alpha40_createCompositeCopypasta

adress #385
This commit is contained in:
Brian Roberts 2020-11-29 21:04:58 -06:00 committed by GitHub
commit 80eb4ab2ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1199,7 +1199,7 @@ GFXTextureObject *GFXTextureManager::createCompositeTexture(GBitmap*bmp[4], U32
if (bmp[0])
rChan = bmp[0]->getChanelValueAt(x, y, inputKey[0]);
else
gChan = 255;
rChan = 255;
if (bmp[1])
gChan = bmp[1]->getChanelValueAt(x, y, inputKey[1]);