Rebind the shader that should be used for drawing the window after

blurring the background.

svn path=/trunk/KDE/kdebase/workspace/; revision=1128975
This commit is contained in:
Fredrik Höglund 2010-05-20 20:23:39 +00:00
parent cc84dc2151
commit 5c97592ecf

View file

@ -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