add missing KWIN_HAVE_OPENGL_COMPOSITING check

BUG:162466

svn path=/trunk/KDE/kdebase/workspace/; revision=811956
This commit is contained in:
Urs Wolfer 2008-05-24 08:24:48 +00:00
parent 99b12001c0
commit 2876bf7217

View file

@ -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: