From f5790fcce1f94aec080fbde23906600c279b61ab Mon Sep 17 00:00:00 2001 From: Lucas Murray Date: Sun, 15 Feb 2009 10:34:41 +0000 Subject: [PATCH] Prevent the logout effect from crashing KWin on quit if blur is not supported. svn path=/trunk/KDE/kdebase/workspace/; revision=926395 --- effects/logout/logout.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/effects/logout/logout.cpp b/effects/logout/logout.cpp index 5fc474a7c5..ad2becf462 100644 --- a/effects/logout/logout.cpp +++ b/effects/logout/logout.cpp @@ -46,6 +46,8 @@ LogoutEffect::LogoutEffect() #ifdef KWIN_HAVE_OPENGL_COMPOSITING blurSupported = false; + blurTexture = NULL; + blurTarget = NULL; if( effects->compositingType() == OpenGLCompositing && GLTexture::NPOTTextureSupported() ) { // TODO: It seems that it is not possible to create a GLRenderTarget that has // a different size than the display right now. Most likely a KWin core bug.