]> git.tdb.fi Git - libs/gl.git/blob - source/blend.cpp
Unbind vertex buffer after updating array data
[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 #include "extension.h"
11 #include "version_1_2.h"
12
13 namespace Msp {
14 namespace GL {
15
16 void blend_equation(BlendEquation eq)
17 {
18         require_version(1, 2);
19         glBlendEquation(eq);
20 }
21
22 void blend_func(BlendFactor src, BlendFactor dst)
23 {
24         glBlendFunc(src, dst);
25 }
26
27 } // namespace GL
28 } // namespace Msp