reset mShader after deletion
CCBUG: 259362 svn path=/trunk/KDE/kdebase/workspace/; revision=1204966
This commit is contained in:
parent
09b4e37041
commit
8940b37528
1 changed files with 1 additions and 0 deletions
|
@ -276,6 +276,7 @@ void SnowEffect::toggle()
|
|||
if( mUseShader )
|
||||
{
|
||||
delete mShader;
|
||||
mShader = NULL;
|
||||
mInited = false;
|
||||
mUseShader = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue