diff --git a/libkwineffects/kwineffects.cpp b/libkwineffects/kwineffects.cpp index 8d98d9f87d..b1b9270ce5 100644 --- a/libkwineffects/kwineffects.cpp +++ b/libkwineffects/kwineffects.cpp @@ -262,20 +262,6 @@ CompositingType EffectsHandler::compositingType() const return compositing_type; } -bool EffectsHandler::saturationSupported() const -{ - switch(compositing_type) { -#ifdef KWIN_HAVE_OPENGL_COMPOSITING - case OpenGLCompositing: - return GLTexture::saturationSupported(); -#endif - case XRenderCompositing: - return false; // never - default: - abort(); - } -} - void EffectsHandler::sendReloadMessage(const QString& effectname) { QDBusMessage message = QDBusMessage::createMethodCall("org.kde.kwin", "/KWin", "org.kde.KWin", "reconfigureEffect"); diff --git a/libkwineffects/kwineffects.h b/libkwineffects/kwineffects.h index 630c5ba0f1..a93d398478 100644 --- a/libkwineffects/kwineffects.h +++ b/libkwineffects/kwineffects.h @@ -739,7 +739,6 @@ public: CompositingType compositingType() const; virtual unsigned long xrenderBufferPicture() = 0; - bool saturationSupported() const; virtual void reconfigure() = 0; /**