]> git.tdb.fi Git - libs/gl.git/blobdiff - source/blend.h
Fix a stupid error with PixelStore parameter mask
[libs/gl.git] / source / blend.h
index dd3f9404d72a2831c3442a994a64b90bbaff6812..e7b291e617dab5c2044e787c99ee7a09a7dfcac5 100644 (file)
@@ -1,8 +1,10 @@
 #ifndef MSP_GL_BLEND_H_
 #define MSP_GL_BLEND_H_
 
+#include <msp/strings/lexicalcast.h>
 #include "bindable.h"
 #include "gl.h"
+#include <msp/gl/extensions/ext_blend_minmax.h>
 
 namespace Msp {
 namespace GL {
@@ -54,8 +56,13 @@ public:
        static void unbind();
 
        static const Blend &alpha();
+       static const Blend &additive();
+       static const Blend &additive_alpha();
 };
 
+void operator>>(const LexicalConverter &, BlendFactor &);
+void operator<<(LexicalConverter &, BlendFactor);
+
 } // namespace GL
 } // namespace Msp