From 2876bf7217f6bf832f299c3bc7f56dc07ad67055 Mon Sep 17 00:00:00 2001 From: Urs Wolfer Date: Sat, 24 May 2008 08:24:48 +0000 Subject: [PATCH] add missing KWIN_HAVE_OPENGL_COMPOSITING check BUG:162466 svn path=/trunk/KDE/kdebase/workspace/; revision=811956 --- lib/kwineffects.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/kwineffects.cpp b/lib/kwineffects.cpp index 86fdb7aee6..15d1bcf0de 100644 --- a/lib/kwineffects.cpp +++ b/lib/kwineffects.cpp @@ -294,8 +294,10 @@ bool EffectsHandler::saturationSupported() const { switch( compositing_type ) { +#ifdef KWIN_HAVE_OPENGL_COMPOSITING case OpenGLCompositing: return GLTexture::saturationSupported(); +#endif case XRenderCompositing: return false; // never default: