From 2832940603733873a76cb4c890f4a3d656d07112 Mon Sep 17 00:00:00 2001 From: Neil Roberts Date: Tue, 17 Nov 2009 18:06:31 +0000 Subject: [PATCH] cogl: Use the GL_EXT_blend_{func,equation}_separate extensions We should use these extensions to check for glBlendFuncSeparate and glBlendEquationSeparate as well as checking the GL version number. --- clutter/cogl/cogl/driver/gl/cogl-feature-functions.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/clutter/cogl/cogl/driver/gl/cogl-feature-functions.h b/clutter/cogl/cogl/driver/gl/cogl-feature-functions.h index b6d71a84b..29efc9e23 100644 --- a/clutter/cogl/cogl/driver/gl/cogl-feature-functions.h +++ b/clutter/cogl/cogl/driver/gl/cogl-feature-functions.h @@ -306,9 +306,9 @@ COGL_FEATURE_FUNCTION (void, glClientActiveTexture, COGL_FEATURE_END () /* Optional, declared in 1.4 */ -COGL_FEATURE_BEGIN (in_1_4, 1, 4, - "\0", - "\0", +COGL_FEATURE_BEGIN (blend_func_separate, 1, 4, + "EXT\0", + "blend_func_separate\0", 0) COGL_FEATURE_FUNCTION (void, glBlendFuncSeparate, (GLenum srcRGB, @@ -318,9 +318,9 @@ COGL_FEATURE_FUNCTION (void, glBlendFuncSeparate, COGL_FEATURE_END () /* Optional, declared in 2.0 */ -COGL_FEATURE_BEGIN (in_2_0, 2, 0, - "\0", - "\0", +COGL_FEATURE_BEGIN (blend_equation_separate, 2, 0, + "EXT\0", + "blend_equation_separate\0", 0) COGL_FEATURE_FUNCTION (void, glBlendEquationSeparate, (GLenum modeRGB,