X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fblend.cpp;h=854b2032d4e26ea31168beaf141790d6ffdb536f;hb=dc1d1159a61f378bda11e5989ad694a86b9a3c77;hp=899ccf599c255e8141fb14c2e3046af6fceaddbc;hpb=d23880571efc16dff1cfeeb92f35fe54c8f64c3d;p=libs%2Fgl.git diff --git a/source/blend.cpp b/source/blend.cpp index 899ccf59..854b2032 100644 --- a/source/blend.cpp +++ b/source/blend.cpp @@ -5,7 +5,6 @@ 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" @@ -15,7 +14,7 @@ namespace GL { void blend_equation(BlendEquation eq) { - require_version(1, 2); + static RequireVersion _ver(1, 2); glBlendEquation(eq); }