diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2011-09-08 14:26:55 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2011-09-08 14:26:55 -0700 |
commit | 201a236d62fdb6a4ba7996750506ed35ec68b54b (patch) | |
tree | f6c414e4c25ec44643c28e51938ec2e84191fec3 | |
parent | a7f4baec9399cda6d2c4850b2006d8df4f8448ac (diff) | |
download | mana-201a236d62fdb6a4ba7996750506ed35ec68b54b.tar.gz mana-201a236d62fdb6a4ba7996750506ed35ec68b54b.tar.bz2 mana-201a236d62fdb6a4ba7996750506ed35ec68b54b.tar.xz mana-201a236d62fdb6a4ba7996750506ed35ec68b54b.zip |
Additional change to build master without OpenGL
-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; |