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

blurring the background.

svn path=/trunk/KDE/kdebase/workspace/; revision=1128975
icc-effect-5.14.5
Fredrik Höglund 2010-05-20 20:23:39 +00:00
parent cc84dc2151
commit 5c97592ecf
1 changed files with 4 additions and 0 deletions

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