Prevent the logout effect from crashing KWin on quit if blur is not
supported. svn path=/trunk/KDE/kdebase/workspace/; revision=926395
This commit is contained in:
parent
d072b5d1b7
commit
f5790fcce1
1 changed files with 2 additions and 0 deletions
|
@ -46,6 +46,8 @@ LogoutEffect::LogoutEffect()
|
||||||
|
|
||||||
#ifdef KWIN_HAVE_OPENGL_COMPOSITING
|
#ifdef KWIN_HAVE_OPENGL_COMPOSITING
|
||||||
blurSupported = false;
|
blurSupported = false;
|
||||||
|
blurTexture = NULL;
|
||||||
|
blurTarget = NULL;
|
||||||
if( effects->compositingType() == OpenGLCompositing && GLTexture::NPOTTextureSupported() )
|
if( effects->compositingType() == OpenGLCompositing && GLTexture::NPOTTextureSupported() )
|
||||||
{ // TODO: It seems that it is not possible to create a GLRenderTarget that has
|
{ // 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.
|
// a different size than the display right now. Most likely a KWin core bug.
|
||||||
|
|
Loading…
Reference in a new issue