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

List:       kde-commits
Subject:    KDE/kdebase/workspace/kwin/lib
From:       Martin Gräßlin <ubuntu () martin-graesslin ! com>
Date:       2010-03-12 14:41:24
Message-ID: 1268404884.835038.9656.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1102446 by graesslin:

Resolve glBlendColor function.

 M  +2 -0      kwinglutils_funcs.cpp  
 M  +2 -0      kwinglutils_funcs.h  


--- trunk/KDE/kdebase/workspace/kwin/lib/kwinglutils_funcs.cpp #1102445:1102446
@@ -60,6 +60,7 @@
 
 // glActiveTexture
 glActiveTexture_func glActiveTexture;
+glBlendColor_func glBlendColor;
 // framebuffer_object extension functions
 glIsRenderbuffer_func glIsRenderbuffer;
 glBindRenderbuffer_func glBindRenderbuffer;
@@ -257,6 +258,7 @@
         GL_RESOLVE( glProgramLocalParameter4fARB );
         GL_RESOLVE( glGetProgramivARB );
         }
+    GL_RESOLVE_WITH_EXT( glBlendColor, glBlendColorARB );
     }
 
 } // namespace
--- trunk/KDE/kdebase/workspace/kwin/lib/kwinglutils_funcs.h #1102445:1102446
@@ -218,6 +218,8 @@
 // glActiveTexture
 typedef void (*glActiveTexture_func)(GLenum);
 extern KWIN_EXPORT glActiveTexture_func glActiveTexture;
+typedef void (*glBlendColor_func)(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
+extern KWIN_EXPORT glBlendColor_func glBlendColor;
 // framebuffer_object extension functions
 typedef GLboolean (*glIsRenderbuffer_func)( GLuint renderbuffer );
 typedef void (*glBindRenderbuffer_func)( GLenum target, GLuint renderbuffer );
[prev in list] [next in list] [prev in thread] [next in thread] 

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