Fix memory lead and add missing glDisable.
svn path=/trunk/KDE/kdebase/workspace/; revision=810633icc-effect-5.14.5
parent
451cc25f01
commit
1904a170e4
|
@ -440,6 +440,8 @@ void FlipSwitchEffect::paintScreen( int mask, QRegion region, ScreenPaintData& d
|
|||
frameRect.height()*0.8f );
|
||||
icon->render( region, iconRect);
|
||||
icon->unbind();
|
||||
delete icon;
|
||||
glDisable( GL_BLEND );
|
||||
glPopAttrib();
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue