From: Mikko Rasa Date: Thu, 3 Oct 2013 07:49:31 +0000 (+0300) Subject: Check the presence of extension rather than function X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=commitdiff_plain;h=06a3ecb3aaf9142fe9f5300b417f4b73e888050e Check the presence of extension rather than function --- diff --git a/source/blend.cpp b/source/blend.cpp index 9c87aeb5..184d5ad5 100644 --- a/source/blend.cpp +++ b/source/blend.cpp @@ -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); }