diff options
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/atlasmanager.cpp | 2 |
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 |