Fixed: Don't load grayscale textures as alpha

This commit is contained in:
kervala 2016-01-05 17:11:37 +01:00
parent 8fd5f96d83
commit 10e7d8d4ff

View file

@ -656,6 +656,9 @@ static void BuildColoredVersionForOneBitmap(const CBuildInfo &bi, const std::str
{ {
if (is.open(fullInputBitmapPath)) if (is.open(fullInputBitmapPath))
{ {
// 8 bits textures are grayscale
srcBitmap.loadGrayscaleAsAlpha(false);
depth = srcBitmap.load(is); depth = srcBitmap.load(is);
is.close(); is.close();