diff --git a/libkwineffects/kwinglcolorcorrection.cpp b/libkwineffects/kwinglcolorcorrection.cpp index 35b63c470e..c0dcabd911 100644 --- a/libkwineffects/kwinglcolorcorrection.cpp +++ b/libkwineffects/kwinglcolorcorrection.cpp @@ -517,8 +517,6 @@ QByteArray ColorCorrection::prepareFragmentShader(const QByteArray &sourceCode) void ColorCorrectionPrivate::setupCCTextures() { - Q_Q(ColorCorrection); - if (m_ccTextureUnit < 0) { GLint maxUnits = 0; glGetIntegerv(GL_MAX_TEXTURE_IMAGE_UNITS, &maxUnits);