diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-08-17 21:20:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-08-18 15:08:47 +0300 |
commit | 09ec2b1ecc1a812e03878ccc07708a0aad02896a (patch) | |
tree | efc3406706d2471d22cc427299dd48455bf8048a /src/compoundsprite.cpp | |
parent | 5c278653704d4f4b90ebc99bcef2f37c5a208a72 (diff) | |
download | manaplus-09ec2b1ecc1a812e03878ccc07708a0aad02896a.tar.gz manaplus-09ec2b1ecc1a812e03878ccc07708a0aad02896a.tar.bz2 manaplus-09ec2b1ecc1a812e03878ccc07708a0aad02896a.tar.xz manaplus-09ec2b1ecc1a812e03878ccc07708a0aad02896a.zip |
Split from Graphics SDL related code into SDLGraphics.
Diffstat (limited to 'src/compoundsprite.cpp')
-rw-r--r-- | src/compoundsprite.cpp | 8 |
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(); |