From 06a3ecb3aaf9142fe9f5300b417f4b73e888050e Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Thu, 3 Oct 2013 10:49:31 +0300 Subject: [PATCH] Check the presence of extension rather than function --- source/blend.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.43.0