diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-08-21 23:58:06 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-08-24 21:08:15 +0300 |
commit | bb0281c87995e11dc1cac95009a5253356d94d1a (patch) | |
tree | e8b0a1f0f1560dd5d4308f9f7a2d48264ac0ea45 /src/compoundsprite.cpp | |
parent | e5521effc043cdf9d781816c0d72bd17830e34f8 (diff) | |
download | mv-bb0281c87995e11dc1cac95009a5253356d94d1a.tar.gz mv-bb0281c87995e11dc1cac95009a5253356d94d1a.tar.bz2 mv-bb0281c87995e11dc1cac95009a5253356d94d1a.tar.xz mv-bb0281c87995e11dc1cac95009a5253356d94d1a.zip |
some SDL2 complilation fixes.
Diffstat (limited to 'src/compoundsprite.cpp')
-rw-r--r-- | src/compoundsprite.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/compoundsprite.cpp b/src/compoundsprite.cpp index bb9b88159..b65d238d4 100644 --- a/src/compoundsprite.cpp +++ b/src/compoundsprite.cpp @@ -313,6 +313,11 @@ unsigned int CompoundSprite::getFrameCount(unsigned int layer) void CompoundSprite::redraw() const { +#ifdef USE_SDL2 + // +++ need impliment after + return; +#else + #if SDL_BYTEORDER == SDL_BIG_ENDIAN const int rmask = 0xff000000; const int gmask = 0x00ff0000; @@ -386,6 +391,7 @@ void CompoundSprite::redraw() const { mAlphaImage = nullptr; } +#endif } void CompoundSprite::setAlpha(float alpha) |