diff --git a/src/libkwineffects/kwinglutils.cpp b/src/libkwineffects/kwinglutils.cpp index 201afddef2..511af09664 100644 --- a/src/libkwineffects/kwinglutils.cpp +++ b/src/libkwineffects/kwinglutils.cpp @@ -964,8 +964,6 @@ void GLRenderTarget::pushRenderTargets(QStack targets) GLRenderTarget* GLRenderTarget::popRenderTarget() { GLRenderTarget* ret = s_renderTargets.pop(); - ret->setTextureDirty(); - if (!s_renderTargets.isEmpty()) { s_renderTargets.top()->bind(); } diff --git a/src/libkwineffects/kwinglutils.h b/src/libkwineffects/kwinglutils.h index 45b98184fd..1bc8940a40 100644 --- a/src/libkwineffects/kwinglutils.h +++ b/src/libkwineffects/kwinglutils.h @@ -425,10 +425,6 @@ public: return mValid; } - void setTextureDirty() { - mTexture.setDirty(); - } - static void initStatic(); static bool supported() { return sSupported;