diff options
author | Jared Adams <jaxad0127@gmail.com> | 2011-04-10 15:50:38 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2011-04-11 09:59:40 -0600 |
commit | 15b78c6b8a1ae17664de0a40dc43aac7645397f0 (patch) | |
tree | a05d4f791c0ac5816007a1ecc9c66ec8ca176826 | |
parent | d5f7c6029199ab514cd1ae9a69abfc8b506bdc8c (diff) | |
download | mana-15b78c6b8a1ae17664de0a40dc43aac7645397f0.tar.gz mana-15b78c6b8a1ae17664de0a40dc43aac7645397f0.tar.bz2 mana-15b78c6b8a1ae17664de0a40dc43aac7645397f0.tar.xz mana-15b78c6b8a1ae17664de0a40dc43aac7645397f0.zip |
Disable sprite caching for now
Reviewed-by: Thorbjørn Lindeijer
-rw-r--r-- | src/compoundsprite.cpp | 5 |
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()) { |