From ab65923161edd3dab8d2623b3895485ad932a951 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 29 Jul 2016 00:47:21 +0300 Subject: Dont return temp surface in atlasmanager. --- src/resources/atlas/atlasmanager.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/resources/atlas/atlasmanager.h') 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 &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); }; -- cgit v1.2.3-70-g09d2