mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-27 01:06:19 +00:00
Merge with develop
This commit is contained in:
commit
32848f4bc1
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))
|
if (is.open(fullInputBitmapPath))
|
||||||
{
|
{
|
||||||
|
// 8 bits textures are grayscale
|
||||||
|
srcBitmap.loadGrayscaleAsAlpha(false);
|
||||||
|
|
||||||
depth = srcBitmap.load(is);
|
depth = srcBitmap.load(is);
|
||||||
is.close();
|
is.close();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue