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

List:       kde-commits
Subject:    playground/libs/kgllib/core/kgllib
From:       Rivo Laks <rivolaks () hot ! ee>
Date:       2008-07-20 16:54:52
Message-ID: 1216572892.963899.18465.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 835480 by rivol:

Make sure that correct blend function is used

 M  +1 -0      textrenderer.cpp  


--- trunk/playground/libs/kgllib/core/kgllib/textrenderer.cpp #835479:835480
@@ -480,6 +480,7 @@
     glDisable(GL_CULL_FACE);
     glEnable(d->textureTarget);
     glEnable(GL_BLEND);
+    glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
     glDepthMask(GL_FALSE);
     glMatrixMode(GL_PROJECTION);
     glPushMatrix();
[prev in list] [next in list] [prev in thread] [next in thread] 

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