]> git.tdb.fi Git - libs/gl.git/blobdiff - source/blend.h
Some fixes to assignment management in UnusedVariableLocator
[libs/gl.git] / source / blend.h
index c4c78d7d51e516fe9e7278c0983dad6446cf6f12..41567c5377266a741e112584ae373dbd0678a6c4 100644 (file)
@@ -1,24 +1,13 @@
-/* $Id$
-
-This file is part of libmspgl
-Copyright © 2008, 2010  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #ifndef MSP_GL_BLEND_H_
 #define MSP_GL_BLEND_H_
 
 #include "bindable.h"
 #include "gl.h"
+#include <msp/gl/extensions/ext_blend_minmax.h>
 
 namespace Msp {
 namespace GL {
 
-enum
-{
-       BLEND = GL_BLEND
-};
-
 enum BlendEquation
 {
        ADD              = GL_FUNC_ADD,
@@ -63,12 +52,12 @@ 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();
+       static const Blend &additive();
+       static const Blend &additive_alpha();
+};
 
 } // namespace GL
 } // namespace Msp