From 6775c1e8ccc2c543d97eb273a342140a62d99aee Mon Sep 17 00:00:00 2001 From: Brian Date: Fri, 28 Sep 2007 16:06:01 -0600 Subject: [PATCH] Remove test for EXT_blend_logic_op in glGetString when determining GL version. EXT_blend_logic_op is slightly different from GL 1.1's RGBA logicop mode and does not have to be supported. Per conversation with Roland. --- src/mesa/main/extensions.c | 2 +- src/mesa/main/getstring.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c index 80dce56c0c1..709499f7301 100644 --- a/src/mesa/main/extensions.c +++ b/src/mesa/main/extensions.c @@ -309,6 +309,7 @@ _mesa_enable_imaging_extensions(GLcontext *ctx) { ctx->Extensions.ARB_imaging = GL_TRUE; ctx->Extensions.EXT_blend_color = GL_TRUE; + ctx->Extensions.EXT_blend_logic_op = GL_TRUE; ctx->Extensions.EXT_blend_minmax = GL_TRUE; ctx->Extensions.EXT_blend_subtract = GL_TRUE; ctx->Extensions.EXT_convolution = GL_TRUE; @@ -353,7 +354,6 @@ _mesa_enable_1_4_extensions(GLcontext *ctx) ctx->Extensions.ARB_window_pos = GL_TRUE; ctx->Extensions.EXT_blend_color = GL_TRUE; ctx->Extensions.EXT_blend_func_separate = GL_TRUE; - ctx->Extensions.EXT_blend_logic_op = GL_TRUE; ctx->Extensions.EXT_blend_minmax = GL_TRUE; ctx->Extensions.EXT_blend_subtract = GL_TRUE; ctx->Extensions.EXT_fog_coord = GL_TRUE; diff --git a/src/mesa/main/getstring.c b/src/mesa/main/getstring.c index 973649da0dd..c15f6a39bcb 100644 --- a/src/mesa/main/getstring.c +++ b/src/mesa/main/getstring.c @@ -96,7 +96,6 @@ _mesa_GetString( GLenum name ) ctx->Extensions.ARB_window_pos && ctx->Extensions.EXT_blend_color && ctx->Extensions.EXT_blend_func_separate && - ctx->Extensions.EXT_blend_logic_op && ctx->Extensions.EXT_blend_minmax && ctx->Extensions.EXT_blend_subtract && ctx->Extensions.EXT_fog_coord && -- 2.30.2