]> 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 1ba43ceb272eba972430bc4fee94cd786bdcbce4..e7b291e617dab5c2044e787c99ee7a09a7dfcac5 100644 (file)
@@ -1,6 +1,7 @@
 #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>
@@ -55,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