X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fblend.cpp;h=854b2032d4e26ea31168beaf141790d6ffdb536f;hb=dc1d1159a61f378bda11e5989ad694a86b9a3c77;hp=c9407c2130fe3e7bb9d0770ee194ded9bd8d2649;hpb=1bff68e595a66f3755743a7ee0f974eb876f3520;p=libs%2Fgl.git diff --git a/source/blend.cpp b/source/blend.cpp index c9407c21..854b2032 100644 --- a/source/blend.cpp +++ b/source/blend.cpp @@ -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) { + static RequireVersion _ver(1, 2); glBlendEquation(eq); }