]> git.tdb.fi Git - libs/gl.git/blobdiff - source/blend.cpp
Move Image to mspgbase
[libs/gl.git] / source / blend.cpp
index c9407c2130fe3e7bb9d0770ee194ded9bd8d2649..841d88b86e1f7e8070edf60c6c390f010f8c33dc 100644 (file)
@@ -5,14 +5,16 @@ Copyright © 2008  Mikko Rasa, Mikkosoft Productions
 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);
 }