From 5e4f42b0170416523b42dd89aa377fa2117bb3c4 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Mon, 22 Aug 2011 19:00:04 -0700 Subject: [PATCH] dri: Remove redundant GL_SGIS_texture_edge_clamp enables This extension is enabled by default in _mesa_init_extensions, so drivers don't need to enable it again. Reviewed-by: Brian Paul Reviewed-by: Kenneth Graunke --- src/mesa/drivers/dri/intel/intel_extensions.c | 1 - src/mesa/drivers/dri/r200/r200_context.c | 1 - src/mesa/drivers/dri/r300/r300_context.c | 1 - src/mesa/drivers/dri/r600/r600_context.c | 1 - src/mesa/drivers/dri/radeon/radeon_context.c | 1 - 5 files changed, 5 deletions(-) diff --git a/src/mesa/drivers/dri/intel/intel_extensions.c b/src/mesa/drivers/dri/intel/intel_extensions.c index f6b825810f2..ee5311fd00e 100644 --- a/src/mesa/drivers/dri/intel/intel_extensions.c +++ b/src/mesa/drivers/dri/intel/intel_extensions.c @@ -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; diff --git a/src/mesa/drivers/dri/r200/r200_context.c b/src/mesa/drivers/dri/r200/r200_context.c index d9ac6043417..bc01c61c8c8 100644 --- a/src/mesa/drivers/dri/r200/r200_context.c +++ b/src/mesa/drivers/dri/r200/r200_context.c @@ -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; diff --git a/src/mesa/drivers/dri/r300/r300_context.c b/src/mesa/drivers/dri/r300/r300_context.c index ece1337923b..d7a5da12004 100644 --- a/src/mesa/drivers/dri/r300/r300_context.c +++ b/src/mesa/drivers/dri/r300/r300_context.c @@ -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; diff --git a/src/mesa/drivers/dri/r600/r600_context.c b/src/mesa/drivers/dri/r600/r600_context.c index b57e1fe3a01..247d5510156 100644 --- a/src/mesa/drivers/dri/r600/r600_context.c +++ b/src/mesa/drivers/dri/r600/r600_context.c @@ -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; diff --git a/src/mesa/drivers/dri/radeon/radeon_context.c b/src/mesa/drivers/dri/radeon/radeon_context.c index dfc0fba194c..0ebf8ba5c59 100644 --- a/src/mesa/drivers/dri/radeon/radeon_context.c +++ b/src/mesa/drivers/dri/radeon/radeon_context.c @@ -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; -- 2.30.2