Silence warning.

This commit is contained in:
Martín Lucas Golini
2024-11-24 02:57:36 -03:00
parent 5afa37f784
commit e4e8d91c5d
3 changed files with 3 additions and 3 deletions

View File

@@ -318,7 +318,7 @@ class EE_API Image {
Sizei getSize();
/** Save the Image to a new File in a specific format */
virtual bool saveToFile( const std::string& filepath, const SaveType& Format ) const;
virtual bool saveToFile( const std::string& filepath, const SaveType& Format );
/** Create an Alpha mask from a Color */
virtual void createMaskFromColor( const Color& ColorKey, Uint8 Alpha );

View File

@@ -90,7 +90,7 @@ class EE_API Texture : public DrawableResource, public Image, private NonCopyabl
const Filter& getFilter() const;
/** Save the Texture to a new File */
bool saveToFile( const std::string& filepath, const Image::SaveType& Format );
virtual bool saveToFile( const std::string& filepath, const Image::SaveType& Format );
/** Replace a color on the texture */
void replaceColor( const Color& ColorKey, const Color& NewColor );

View File

@@ -770,7 +770,7 @@ unsigned int Image::getChannels() const {
return mChannels;
}
bool Image::saveToFile( const std::string& filepath, const SaveType& Format ) const {
bool Image::saveToFile( const std::string& filepath, const SaveType& Format ) {
bool Res = false;
std::string fpath( FileSystem::fileRemoveFileName( filepath ) );