From 4e7096f15eba73e6ea28066df6ab389aab3f052c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 1 Aug 2011 15:34:45 +0300 Subject: Fix random opacity issue in complex sprites in software mode. --- src/animatedsprite.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/animatedsprite.h') diff --git a/src/animatedsprite.h b/src/animatedsprite.h index 6ccf2419a..e10e0f338 100644 --- a/src/animatedsprite.h +++ b/src/animatedsprite.h @@ -80,6 +80,8 @@ class AnimatedSprite : public Sprite unsigned int getFrameCount() const; + virtual void setAlpha(float alpha); + private: bool updateCurrentAnimation(unsigned int dt); -- cgit v1.2.3-70-g09d2