]> git.tdb.fi Git - libs/gl.git/blobdiff - source/blend.cpp
Unbind vertex buffer after updating array data
[libs/gl.git] / source / blend.cpp
index c9407c2130fe3e7bb9d0770ee194ded9bd8d2649..899ccf599c255e8141fb14c2e3046af6fceaddbc 100644 (file)
@@ -7,12 +7,15 @@ Distributed under the LGPL
 
 #define GL_GLEXT_PROTOTYPES
 #include "blend.h"
+#include "extension.h"
+#include "version_1_2.h"
 
 namespace Msp {
 namespace GL {
 
 void blend_equation(BlendEquation eq)
 {
+       require_version(1, 2);
        glBlendEquation(eq);
 }