mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 09:19:01 +00:00
Fixed: Don't load grayscale textures as alpha
--HG-- branch : develop
This commit is contained in:
parent
478371a666
commit
95404bd724
1 changed files with 3 additions and 0 deletions
|
@ -656,6 +656,9 @@ static void BuildColoredVersionForOneBitmap(const CBuildInfo &bi, const std::str
|
|||
{
|
||||
if (is.open(fullInputBitmapPath))
|
||||
{
|
||||
// 8 bits textures are grayscale
|
||||
srcBitmap.loadGrayscaleAsAlpha(false);
|
||||
|
||||
depth = srcBitmap.load(is);
|
||||
is.close();
|
||||
|
||||
|
|
Loading…
Reference in a new issue