add missing KWIN_HAVE_OPENGL_COMPOSITING check

BUG:162466

svn path=/trunk/KDE/kdebase/workspace/; revision=811956
remotes/origin/Plasma/5.0
Urs Wolfer 18 years ago
parent 99b12001c0
commit 2876bf7217
  1. 2
      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:

Loading…
Cancel
Save