summaryrefslogtreecommitdiff
path: root/src/compoundsprite.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/compoundsprite.cpp')
-rw-r--r--src/compoundsprite.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compoundsprite.cpp b/src/compoundsprite.cpp
index d0bf9bc31..bb9b88159 100644
--- a/src/compoundsprite.cpp
+++ b/src/compoundsprite.cpp
@@ -333,7 +333,7 @@ void CompoundSprite::redraw() const
SDLGraphics *graphics = new SDLGraphics();
graphics->setBlitMode(SDLGraphics::BLIT_GFX);
- graphics->setTarget(surface);
+ graphics->setWindow(surface);
graphics->_beginDraw();
int tileX = 32 / 2;