[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/workspace/kwin/effects
From:       Martin Gräßlin <ubuntu () martin-graesslin ! com>
Date:       2008-05-21 7:49:20
Message-ID: 1211356160.413934.22082.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 810633 by graesslin:

Fix memory lead and add missing glDisable.

 M  +2 -0      flipswitch.cpp  


--- trunk/KDE/kdebase/workspace/kwin/effects/flipswitch.cpp #810632:810633
@@ -440,6 +440,8 @@
             frameRect.height()*0.8f );
         icon->render( region, iconRect);
         icon->unbind();
+        delete icon;
+        glDisable( GL_BLEND );
         glPopAttrib();
 #endif
         }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic