From 5c97592ecff6b2a9560d0f5c200cc0e47a87482e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20H=C3=B6glund?= Date: Thu, 20 May 2010 20:23:39 +0000 Subject: [PATCH] Rebind the shader that should be used for drawing the window after blurring the background. svn path=/trunk/KDE/kdebase/workspace/; revision=1128975 --- effects/blur/blur.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/effects/blur/blur.cpp b/effects/blur/blur.cpp index c5e62338ab..cd92903b75 100644 --- a/effects/blur/blur.cpp +++ b/effects/blur/blur.cpp @@ -293,6 +293,10 @@ void BlurEffect::drawWindow(EffectWindow *w, int mask, QRegion region, WindowPai tex->unbind(); shader->unbind(); + + // Rebind the shader used for drawing the window if one was set + if (data.shader) + data.shader->bind(); } // Draw the window over the blurred area