The assert for popRenderTarget in kwinshadereffect caused the kwin freezes as if assert has not been compiled in, the fbo will never be detached. So now we have working looking glass and sharpen effect back.

BUG: 183981

svn path=/trunk/KDE/kdebase/workspace/; revision=960039
icc-effect-5.14.5
Martin Gräßlin 2009-04-27 20:02:22 +00:00
parent 8f19fcd767
commit 2830385a40
1 changed files with 2 additions and 1 deletions

View File

@ -151,7 +151,8 @@ void ShaderEffect::postPaintScreen()
if( mValid && mEnabled )
{
// Disable render texture
assert( effects->popRenderTarget() == mRenderTarget );
GLRenderTarget* target = effects->popRenderTarget();
assert( target == mRenderTarget );
mTexture->bind();
// Use the shader