summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-01-12 14:53:10 -0800
committerEric Anholt <[email protected]>2012-01-17 10:35:24 -0800
commita14582d7e2ace05a3583cecff39f2bb4f41f7b79 (patch)
treecbdd6efeaa9095b238021349f0efab9273a0e01e /src
parentccf0d31a210baf062dcc0e0c19527cdbbade0ac9 (diff)
intel: Drop the version override code now that we don't have any left.
Fixes a compiler warning. Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/intel/intel_extensions.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_extensions.c b/src/mesa/drivers/dri/intel/intel_extensions.c
index 7aa040cc5cb..0ce452fe0be 100644
--- a/src/mesa/drivers/dri/intel/intel_extensions.c
+++ b/src/mesa/drivers/dri/intel/intel_extensions.c
@@ -41,14 +41,6 @@ void
intelInitExtensions(struct gl_context *ctx)
{
struct intel_context *intel = intel_context(ctx);
- char *override = getenv("MESA_GL_VERSION_OVERRIDE");
- int override_major, override_minor;
- int override_version = 0;
-
- if (override &&
- sscanf(override, "%u.%u", &override_major, &override_minor) == 2) {
- override_version = override_major * 10 + override_minor;
- }
ctx->Extensions.ARB_draw_elements_base_vertex = true;
ctx->Extensions.ARB_explicit_attrib_location = true;