]> git.tdb.fi Git - libs/gl.git/commitdiff
Check the presence of extension rather than function
authorMikko Rasa <tdb@tdb.fi>
Thu, 3 Oct 2013 07:49:31 +0000 (10:49 +0300)
committerMikko Rasa <tdb@tdb.fi>
Thu, 3 Oct 2013 07:49:31 +0000 (10:49 +0300)
source/blend.cpp

index 9c87aeb5461d989a864a37c2dd19da4f96167461..184d5ad534f1aca6bcf441726b54e8c80af94a1b 100644 (file)
@@ -33,7 +33,7 @@ void Blend::bind() const
        if(set_current(this))
        {
                glEnable(GL_BLEND);
-               if(glBlendEquation)
+               if(EXT_blend_minmax)
                        glBlendEquation(eq);
                glBlendFunc(src_factor, dst_factor);
        }