diff options
author | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-03-21 12:42:38 +0100 |
---|---|---|
committer | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-03-21 21:15:42 +0100 |
commit | 9f8cf8cf3031a0bb314779ab3c9d22fc87d6c306 (patch) | |
tree | 20dd5e4bba71c8fa0a8a35c7923e42a3b60c1751 /src/resources/image.h | |
parent | 5333d8554be855af7b78cdd47d19e8d31abd47c3 (diff) | |
download | mana-9f8cf8cf3031a0bb314779ab3c9d22fc87d6c306.tar.gz mana-9f8cf8cf3031a0bb314779ab3c9d22fc87d6c306.tar.bz2 mana-9f8cf8cf3031a0bb314779ab3c9d22fc87d6c306.tar.xz mana-9f8cf8cf3031a0bb314779ab3c9d22fc87d6c306.zip |
Removed the unused Image::mLoaded member
Diffstat (limited to 'src/resources/image.h')
-rw-r--r-- | src/resources/image.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/resources/image.h b/src/resources/image.h index de759612..f91d2275 100644 --- a/src/resources/image.h +++ b/src/resources/image.h @@ -79,17 +79,6 @@ class Image : public Resource static Image *load(SDL_Surface *); /** - * Frees the resources created by SDL. - */ - void unload(); - - /** - * Tells is the image is loaded - */ - bool isLoaded() const - { return mLoaded; } - - /** * Returns the width of the image. */ int getWidth() const @@ -163,7 +152,6 @@ class Image : public Resource // ----------------------- SDL_Rect mBounds; - bool mLoaded = false; float mAlpha = 1.0f; // ----------------------- |