summaryrefslogtreecommitdiff
path: root/src/compoundsprite.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-08-01 15:34:45 +0300
committerAndrei Karas <akaras@inbox.ru>2011-08-01 18:25:11 +0300
commit4e7096f15eba73e6ea28066df6ab389aab3f052c (patch)
treeba8902bd4b4f0137925ab98c89beaa6233a44a51 /src/compoundsprite.h
parent6661187fdc8278c9f9a15c6cdb4d85301a3e548c (diff)
downloadManaVerse-4e7096f15eba73e6ea28066df6ab389aab3f052c.tar.gz
ManaVerse-4e7096f15eba73e6ea28066df6ab389aab3f052c.tar.bz2
ManaVerse-4e7096f15eba73e6ea28066df6ab389aab3f052c.tar.xz
ManaVerse-4e7096f15eba73e6ea28066df6ab389aab3f052c.zip
Fix random opacity issue in complex sprites in software mode.
Diffstat (limited to 'src/compoundsprite.h')
-rw-r--r--src/compoundsprite.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compoundsprite.h b/src/compoundsprite.h
index 9d5a42a1b..834ccd835 100644
--- a/src/compoundsprite.h
+++ b/src/compoundsprite.h
@@ -98,6 +98,8 @@ public:
*/
virtual unsigned int getFrameCount(unsigned int layer);
+ virtual void setAlpha(float alpha);
+
private:
void redraw() const;