X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fblend.h;h=e7b291e617dab5c2044e787c99ee7a09a7dfcac5;hp=27e76d6469ccb7ea6ab52aee8cb00e29dcdef5a5;hb=HEAD;hpb=e3ca5a12fd2a3e751ffc86b743c8a43a2ba54edc diff --git a/source/blend.h b/source/blend.h deleted file mode 100644 index 27e76d64..00000000 --- a/source/blend.h +++ /dev/null @@ -1,54 +0,0 @@ -/* $Id$ - -This file is part of libmspgl -Copyright © 2008 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - -#ifndef MSP_GL_BLEND_H_ -#define MSP_GL_BLEND_H_ - -#include "gl.h" - -namespace Msp { -namespace GL { - -enum -{ - BLEND = GL_BLEND -}; - -enum BlendEquation -{ - ADD = GL_FUNC_ADD, - SUBTRACT = GL_FUNC_SUBTRACT, - REVERSE_SUBTRACT = GL_FUNC_REVERSE_SUBTRACT, - MIN = GL_MIN, - MAX = GL_MAX -}; - -enum BlendFactor -{ - ZERO = GL_ZERO, - ONE = GL_ONE, - SRC_COLOR = GL_SRC_COLOR, - ONE_MINUS_SRC_COLOR = GL_ONE_MINUS_SRC_COLOR, - SRC_ALPHA = GL_SRC_ALPHA, - ONE_MINUS_SRC_ALPHA = GL_ONE_MINUS_SRC_ALPHA, - DST_COLOR = GL_DST_COLOR, - ONE_MINUS_DST_COLOR = GL_ONE_MINUS_DST_COLOR, - DST_ALPHA = GL_DST_ALPHA, - ONE_MINUS_DST_ALPHA = GL_ONE_MINUS_DST_ALPHA, - CONSTANT_COLOR = GL_CONSTANT_COLOR, - ONE_MINUS_CONSTANT_COLOR = GL_ONE_MINUS_CONSTANT_COLOR, - CONSTANT_ALPHA = GL_CONSTANT_ALPHA, - ONE_MINUS_CONSTANT_ALPHA = GL_ONE_MINUS_CONSTANT_ALPHA -}; - -void blend_equation(BlendEquation eq); -void blend_func(BlendFactor src, BlendFactor dst); - -} // namespace GL -} // namespace Msp - -#endif