diff options
-rw-r--r-- | src/compoundsprite.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compoundsprite.cpp b/src/compoundsprite.cpp index 6e8af72e..6c413c14 100644 --- a/src/compoundsprite.cpp +++ b/src/compoundsprite.cpp @@ -292,6 +292,7 @@ static void updateValues(int &dimension, int &pos, int imgDimUL, int imgDimRD, i void CompoundSprite::redraw() const { +#ifdef USE_OPENGL // TODO OpenGL support if (Image::getLoadAsOpenGL()) { @@ -302,7 +303,7 @@ void CompoundSprite::redraw() const mNeedsRedraw = false; return; } - +#endif mWidth = mHeight = mOffsetX = mOffsetY = 0; Sprite *s = NULL; |