Drop IImageLoader::loadImages as only IImageLoader::loadImage is usable

This commit is contained in:
numzero
2023-04-08 01:23:20 +03:00
committed by sfan5
parent 462657960d
commit fc0440ff89
2 changed files with 22 additions and 57 deletions

View File

@ -45,17 +45,6 @@ public:
/** \param file File handle to check.
\return Pointer to newly created image, or 0 upon error. */
virtual IImage* loadImage(io::IReadFile* file) const = 0;
//! Creates a multiple surfaces from the file eg. whole cube map.
/** \param file File handle to check.
\param type Pointer to E_TEXTURE_TYPE where a recommended type of the texture will be stored.
\return Array of pointers to newly created images. */
virtual core::array<IImage*> loadImages(io::IReadFile* file, E_TEXTURE_TYPE* type) const
{
core::array<IImage*> image;
return image;
}
};