add missing KWIN_HAVE_OPENGL_COMPOSITING check
BUG:162466 svn path=/trunk/KDE/kdebase/workspace/; revision=811956
This commit is contained in:
parent
99b12001c0
commit
2876bf7217
1 changed files with 2 additions and 0 deletions
|
@ -294,8 +294,10 @@ bool EffectsHandler::saturationSupported() const
|
||||||
{
|
{
|
||||||
switch( compositing_type )
|
switch( compositing_type )
|
||||||
{
|
{
|
||||||
|
#ifdef KWIN_HAVE_OPENGL_COMPOSITING
|
||||||
case OpenGLCompositing:
|
case OpenGLCompositing:
|
||||||
return GLTexture::saturationSupported();
|
return GLTexture::saturationSupported();
|
||||||
|
#endif
|
||||||
case XRenderCompositing:
|
case XRenderCompositing:
|
||||||
return false; // never
|
return false; // never
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue