summaryrefslogtreecommitdiff
path: root/src/resources/atlasmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-17 21:20:39 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-18 15:08:47 +0300
commit09ec2b1ecc1a812e03878ccc07708a0aad02896a (patch)
treeefc3406706d2471d22cc427299dd48455bf8048a /src/resources/atlasmanager.cpp
parent5c278653704d4f4b90ebc99bcef2f37c5a208a72 (diff)
downloadplus-09ec2b1ecc1a812e03878ccc07708a0aad02896a.tar.gz
plus-09ec2b1ecc1a812e03878ccc07708a0aad02896a.tar.bz2
plus-09ec2b1ecc1a812e03878ccc07708a0aad02896a.tar.xz
plus-09ec2b1ecc1a812e03878ccc07708a0aad02896a.zip
Split from Graphics SDL related code into SDLGraphics.
Diffstat (limited to 'src/resources/atlasmanager.cpp')
-rw-r--r--src/resources/atlasmanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/atlasmanager.cpp b/src/resources/atlasmanager.cpp
index 0f7565ecd..1d7147d72 100644
--- a/src/resources/atlasmanager.cpp
+++ b/src/resources/atlasmanager.cpp
@@ -25,9 +25,9 @@
#include "resources/atlasmanager.h"
#include "client.h"
-#include "graphics.h"
#include "graphicsmanager.h"
#include "logger.h"
+#include "sdlgraphics.h"
#include "utils/mathutils.h"
#include "utils/physfsrwops.h"
@@ -227,7 +227,7 @@ SDL_Surface *AtlasManager::createSDLAtlas(TextureAtlas *const atlas)
if (!surface)
return nullptr;
- Graphics *const graphics = new Graphics();
+ SDLGraphics *const graphics = new SDLGraphics();
graphics->setTarget(surface);
graphics->_beginDraw();