mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-29 17:46:29 +03:00
Silence warning.
This commit is contained in:
@@ -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 );
|
||||
|
||||
@@ -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 );
|
||||
|
||||
@@ -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 ) );
|
||||
|
||||
Reference in New Issue
Block a user