Remove test for EXT_blend_logic_op in glGetString when determining GL version.
authorBrian <brian.paul@tungstengraphics.com>
Fri, 28 Sep 2007 22:06:01 +0000 (16:06 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Fri, 28 Sep 2007 22:06:43 +0000 (16:06 -0600)
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
src/mesa/main/getstring.c

index 80dce56c0c12c63bbb28fd95eb20b191f62d6556..709499f730162b546b2b097449f8293646b6d049 100644 (file)
@@ -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;
index 973649da0dd29b5112853329776537880614cc90..c15f6a39bcb15fe2a87ea7bfcae4fff689459b3d 100644 (file)
@@ -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 &&