X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fblend.h;h=1ba43ceb272eba972430bc4fee94cd786bdcbce4;hb=3b159edbe4e80a2bc19c4c2fcd42cb996b9fbfe0;hp=c4c78d7d51e516fe9e7278c0983dad6446cf6f12;hpb=f17794d55923d4fb4f63e9d082d8d84a735a04e8;p=libs%2Fgl.git diff --git a/source/blend.h b/source/blend.h index c4c78d7d..1ba43ceb 100644 --- a/source/blend.h +++ b/source/blend.h @@ -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 namespace Msp { namespace GL { -enum -{ - BLEND = GL_BLEND -}; - enum BlendEquation { ADD = GL_FUNC_ADD, @@ -63,12 +52,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