reset mShader after deletion

CCBUG: 259362

svn path=/trunk/KDE/kdebase/workspace/; revision=1204966
This commit is contained in:
Thomas Lübking 2010-12-09 21:13:15 +00:00
parent 09b4e37041
commit 8940b37528

View file

@ -276,6 +276,7 @@ void SnowEffect::toggle()
if( mUseShader )
{
delete mShader;
mShader = NULL;
mInited = false;
mUseShader = true;
}