]> git.tdb.fi Git - libs/gl.git/blob - source/blend.cpp
Add blending and clipping support
[libs/gl.git] / source / blend.cpp
1 /* $Id$
2
3 This file is part of libmspgl
4 Copyright © 2008  Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
6 */
7
8 #define GL_GLEXT_PROTOTYPES
9 #include "blend.h"
10
11 namespace Msp {
12 namespace GL {
13
14 void blend_equation(BlendEquation eq)
15 {
16         glBlendEquation(eq);
17 }
18
19 void blend_func(BlendFactor src, BlendFactor dst)
20 {
21         glBlendFunc(src, dst);
22 }
23
24 } // namespace GL
25 } // namespace Msp