dri: Remove redundant GL_SGIS_texture_edge_clamp enables
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 23 Aug 2011 02:00:04 +0000 (19:00 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 26 Sep 2011 19:14:12 +0000 (12:14 -0700)
This extension is enabled by default in _mesa_init_extensions, so
drivers don't need to enable it again.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/intel/intel_extensions.c
src/mesa/drivers/dri/r200/r200_context.c
src/mesa/drivers/dri/r300/r300_context.c
src/mesa/drivers/dri/r600/r600_context.c
src/mesa/drivers/dri/radeon/radeon_context.c

index f6b825810f21e0cc52241c2066a3adbb8b1a18be..ee5311fd00efdb8ec75b4f9c4bcd9288db5091bf 100644 (file)
@@ -108,7 +108,6 @@ intelInitExtensions(struct gl_context *ctx)
    ctx->Extensions.NV_texture_rectangle = true;
    ctx->Extensions.NV_vertex_program = true;
    ctx->Extensions.NV_vertex_program1_1 = true;
-   ctx->Extensions.SGIS_texture_edge_clamp = true;
    ctx->Extensions.TDFX_texture_compression_FXT1 = true;
 #if FEATURE_OES_EGL_image
    ctx->Extensions.OES_EGL_image = true;
index d9ac604341773ad14980b35ca446f6ce56b14ed9..bc01c61c8c8af0076304553724433d40441b77b3 100644 (file)
@@ -386,7 +386,6 @@ GLboolean r200CreateContext( gl_api api,
 #if FEATURE_OES_EGL_image
    ctx->Extensions.OES_EGL_image = true;
 #endif
-   ctx->Extensions.SGIS_texture_edge_clamp = true;
 
    ctx->Extensions.EXT_framebuffer_object =
       rmesa->radeon.radeonScreen->kernel_mm;
index ece1337923bf3a3fb4b366536aede7397f1acc7e..d7a5da120048b56f8f800fbba82e5ba1b960c685 100644 (file)
@@ -406,7 +406,6 @@ static void r300InitGLExtensions(struct gl_context *ctx)
 #if FEATURE_OES_EGL_image
        ctx->Extensions.OES_EGL_image = true;
 #endif
-       ctx->Extensions.SGIS_texture_edge_clamp = true;
 
        if (r300->radeon.radeonScreen->kernel_mm) {
                ctx->Extensions.EXT_framebuffer_blit = true;
index b57e1fe3a01f1e933f1ed1a2aeb192354c475b87..247d55101560056a9b97e1a01f841bc5031804f6 100644 (file)
@@ -306,7 +306,6 @@ static void r600InitGLExtensions(struct gl_context *ctx)
 #if FEATURE_OES_EGL_image
        ctx->Extensions.OES_EGL_image = true;
 #endif
-       ctx->Extensions.SGIS_texture_edge_clamp = true;
 
        if (r600->radeon.radeonScreen->kernel_mm)
                ctx->Extensions.EXT_framebuffer_object = true;
index dfc0fba194c4e812e1fed7811be6861edf948347..0ebf8ba5c59acf978bb24f91f830192a9cf6ad76 100644 (file)
@@ -337,7 +337,6 @@ r100CreateContext( gl_api api,
 #if FEATURE_OES_EGL_image
    ctx->Extensions.OES_EGL_image = true;
 #endif
-   ctx->Extensions.SGIS_texture_edge_clamp = true;
 
    ctx->Extensions.EXT_framebuffer_object =
       rmesa->radeon.radeonScreen->kernel_mm;