diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-08-22 11:59:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-08-24 21:08:15 +0300 |
commit | 2480ea4cc668ff99007dd6fb8b44911eea5d5287 (patch) | |
tree | c8fc22a9612d30474cddd6d40da5269ffd7f55a5 /src/compoundsprite.cpp | |
parent | 07390a4c8dcde85602c1a91d3773061d67d169ab (diff) | |
download | manaplus-2480ea4cc668ff99007dd6fb8b44911eea5d5287.tar.gz manaplus-2480ea4cc668ff99007dd6fb8b44911eea5d5287.tar.bz2 manaplus-2480ea4cc668ff99007dd6fb8b44911eea5d5287.tar.xz manaplus-2480ea4cc668ff99007dd6fb8b44911eea5d5287.zip |
store window size into rectangle.
Diffstat (limited to 'src/compoundsprite.cpp')
-rw-r--r-- | src/compoundsprite.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compoundsprite.cpp b/src/compoundsprite.cpp index b65d238d4..24e8306c3 100644 --- a/src/compoundsprite.cpp +++ b/src/compoundsprite.cpp @@ -338,7 +338,7 @@ void CompoundSprite::redraw() const SDLGraphics *graphics = new SDLGraphics(); graphics->setBlitMode(SDLGraphics::BLIT_GFX); - graphics->setWindow(surface); + graphics->setWindow(surface, BUFFER_WIDTH, BUFFER_HEIGHT); graphics->_beginDraw(); int tileX = 32 / 2; |