]> git.tdb.fi Git - libs/gl.git/blobdiff - source/blend.h
Remove non-OO access to blending
[libs/gl.git] / source / blend.h
index c4c78d7d51e516fe9e7278c0983dad6446cf6f12..3d7368bb8bfeda7c27c92aaa07172f5ae10111d9 100644 (file)
@@ -14,11 +14,6 @@ Distributed under the LGPL
 namespace Msp {
 namespace GL {
 
-enum
-{
-       BLEND = GL_BLEND
-};
-
 enum BlendEquation
 {
        ADD              = GL_FUNC_ADD,
@@ -63,12 +58,10 @@ public:
 
        void bind() const;
 
-       static const Blend &alpha();
        static void unbind();
-};
 
-void blend_equation(BlendEquation eq);
-void blend_func(BlendFactor src, BlendFactor dst);
+       static const Blend &alpha();
+};
 
 } // namespace GL
 } // namespace Msp