mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 09:19:01 +00:00
Fixed: Load 8bits textures as grayscale instead of alpha in textures_optimizer
--HG-- branch : develop
This commit is contained in:
parent
844b1e3d02
commit
8087b76397
1 changed files with 3 additions and 0 deletions
|
@ -131,6 +131,9 @@ int main(int argc, char **argv)
|
|||
|
||||
NLMISC::CBitmap bitmap;
|
||||
|
||||
// all 8 bits textures are grayscale and not alpha
|
||||
bitmap.loadGrayscaleAsAlpha(false);
|
||||
|
||||
uint8 depth = bitmap.load(input);
|
||||
|
||||
// don't need file so close it
|
||||
|
|
Loading…
Reference in a new issue