From 8940b37528c435e632ab104c2d904d4fcfe8309c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Thu, 9 Dec 2010 21:13:15 +0000 Subject: [PATCH] reset mShader after deletion CCBUG: 259362 svn path=/trunk/KDE/kdebase/workspace/; revision=1204966 --- effects/snow/snow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/effects/snow/snow.cpp b/effects/snow/snow.cpp index 76f468e3e9..bcb1cecb71 100644 --- a/effects/snow/snow.cpp +++ b/effects/snow/snow.cpp @@ -276,6 +276,7 @@ void SnowEffect::toggle() if( mUseShader ) { delete mShader; + mShader = NULL; mInited = false; mUseShader = true; }