summaryrefslogtreecommitdiff
path: root/src/compoundsprite.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/compoundsprite.cpp')
-rw-r--r--src/compoundsprite.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/compoundsprite.cpp b/src/compoundsprite.cpp
index 748bf4d42..0d649e48e 100644
--- a/src/compoundsprite.cpp
+++ b/src/compoundsprite.cpp
@@ -21,16 +21,16 @@
#include "compoundsprite.h"
+#include "client.h"
#include "configuration.h"
#include "game.h"
-#include "graphics.h"
#ifdef USE_OPENGL
#include "main.h"
#endif
-#include "client.h"
#include "map.h"
+#include "sdlgraphics.h"
#include "resources/image.h"
#include "resources/imagehelper.h"
@@ -330,8 +330,8 @@ void CompoundSprite::redraw() const
if (!surface)
return;
- Graphics *graphics = new Graphics();
- graphics->setBlitMode(Graphics::BLIT_GFX);
+ SDLGraphics *graphics = new SDLGraphics();
+ graphics->setBlitMode(SDLGraphics::BLIT_GFX);
graphics->setTarget(surface);
graphics->_beginDraw();