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
This commit is contained in:
parent
8f19fcd767
commit
2830385a40
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue