summaryrefslogtreecommitdiff
path: root/src/resources/atlasmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-21 21:47:18 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-24 21:08:15 +0300
commite1cacb5f675b782ba1cfee8906c78ec7793807c8 (patch)
tree2c4c1160d1034b451ad38b1c33537bed3510a397 /src/resources/atlasmanager.cpp
parenta3082da9c7296bb18b7a6bc0424eb2a19d485ff6 (diff)
downloadmv-e1cacb5f675b782ba1cfee8906c78ec7793807c8.tar.gz
mv-e1cacb5f675b782ba1cfee8906c78ec7793807c8.tar.bz2
mv-e1cacb5f675b782ba1cfee8906c78ec7793807c8.tar.xz
mv-e1cacb5f675b782ba1cfee8906c78ec7793807c8.zip
rename target in graphics into window.
Diffstat (limited to 'src/resources/atlasmanager.cpp')
-rw-r--r--src/resources/atlasmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/atlasmanager.cpp b/src/resources/atlasmanager.cpp
index 1292baeb7..dd1f7aef3 100644
--- a/src/resources/atlasmanager.cpp
+++ b/src/resources/atlasmanager.cpp
@@ -228,7 +228,7 @@ SDL_Surface *AtlasManager::createSDLAtlas(TextureAtlas *const atlas)
return nullptr;
SDLGraphics *const graphics = new SDLGraphics();
- graphics->setTarget(surface);
+ graphics->setWindow(surface);
graphics->_beginDraw();
// drawing SDL images to surface