]> git.tdb.fi Git - libs/gl.git/blobdiff - source/blend.cpp
Use RAII checks for extensions and versions
[libs/gl.git] / source / blend.cpp
index 841d88b86e1f7e8070edf60c6c390f010f8c33dc..854b2032d4e26ea31168beaf141790d6ffdb536f 100644 (file)
@@ -14,7 +14,7 @@ namespace GL {
 
 void blend_equation(BlendEquation eq)
 {
-       require_version(1, 2);
+       static RequireVersion _ver(1, 2);
        glBlendEquation(eq);
 }