diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-07-29 00:47:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-07-29 00:47:21 +0300 |
commit | ab65923161edd3dab8d2623b3895485ad932a951 (patch) | |
tree | 7fcdb4b564b6620bb19b5b79fcece3e709c7c15a /src/resources/atlas/atlasmanager.h | |
parent | 442a2dd0a4417182cbdd9f9fefb45bda4914e3d7 (diff) | |
download | manaverse-ab65923161edd3dab8d2623b3895485ad932a951.tar.gz manaverse-ab65923161edd3dab8d2623b3895485ad932a951.tar.bz2 manaverse-ab65923161edd3dab8d2623b3895485ad932a951.tar.xz manaverse-ab65923161edd3dab8d2623b3895485ad932a951.zip |
Dont return temp surface in atlasmanager.
Diffstat (limited to 'src/resources/atlas/atlasmanager.h')
-rw-r--r-- | src/resources/atlas/atlasmanager.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/resources/atlas/atlasmanager.h b/src/resources/atlas/atlasmanager.h index fdee09ecf..84f66e845 100644 --- a/src/resources/atlas/atlasmanager.h +++ b/src/resources/atlas/atlasmanager.h @@ -63,9 +63,7 @@ class AtlasManager final const std::vector<Image*> &restrict images, int size); - static SDL_Surface *createSDLAtlas(TextureAtlas *const atlas) - A_WARN_UNUSED A_NONNULL(1); - + static void createSDLAtlas(TextureAtlas *const atlas) A_NONNULL(1); static void convertAtlas(TextureAtlas *const atlas) A_NONNULL(1); }; |