diff --git a/src/Nazara/Utility/Formats/STBLoader.cpp b/src/Nazara/Utility/Formats/STBLoader.cpp index 42f720abf..3ca5b3708 100644 --- a/src/Nazara/Utility/Formats/STBLoader.cpp +++ b/src/Nazara/Utility/Formats/STBLoader.cpp @@ -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; }