summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/compoundsprite.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/compoundsprite.cpp b/src/compoundsprite.cpp
index ec45825f..e88a518a 100644
--- a/src/compoundsprite.cpp
+++ b/src/compoundsprite.cpp
@@ -285,6 +285,11 @@ size_t CompoundSprite::getFrameCount(size_t layer)
void CompoundSprite::redraw() const
{
+ // TODO Detect image size needed to avoid cutting off large sprites, and
+ // reduce memory for smaller ones
+ mNeedsRedraw = false;
+ return;
+
// TODO OpenGL support
if (Image::getLoadAsOpenGL())
{