Revert "Utility/Formats: STBLoader will now convert the image to RGB8 if it has no alpha value"

This reverts commit c523e3cde5.
This commit is contained in:
Lynix
2016-11-18 22:39:26 +01:00
parent 3bd426f3dc
commit 2d13ff7aac

View File

@@ -82,12 +82,6 @@ namespace Nz
if (parameters.loadFormat != PixelFormatType_Undefined)
image->Convert(parameters.loadFormat);
else
{
// Optimize memory usage if possible
if (!image->HasAlpha())
image->Convert(PixelFormatType_RGB8);
}
return true;
}