Fixed: Load 8bits textures as grayscale instead of alpha in textures_optimizer

This commit is contained in:
kervala 2016-01-02 20:29:24 +01:00
parent c006d895c7
commit 7e22b01a51

View file

@ -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