[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 17:31:08
Message-ID: 1216575068.958464.20033.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 835488 by rivol:

Always update GL clear color before doing glClear()

 M  +1 -0      glwidget.cpp  


--- trunk/playground/libs/kgllib/core/kgllib/glwidget.cpp #835487:835488
@@ -195,6 +195,7 @@
 
     // Clear buffers
     if (mAutomaticClear) {
+        setClearColor(mClearColor);
         if (context()->format().depth()) {
             glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
         } else {
[prev in list] [next in list] [prev in thread] [next in thread] 

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