OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
274e8b9
)
intel: Drop the version override code now that we don't have any left.
author
Eric Anholt
<eric@anholt.net>
Thu, 12 Jan 2012 22:53:10 +0000
(14:53 -0800)
committer
Ian Romanick
<ian.d.romanick@intel.com>
Thu, 19 Jan 2012 19:12:35 +0000
(11:12 -0800)
Fixes a compiler warning.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
(cherry picked from commit
a14582d7e2ace05a3583cecff39f2bb4f41f7b79
)
src/mesa/drivers/dri/intel/intel_extensions.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_extensions.c
b/src/mesa/drivers/dri/intel/intel_extensions.c
index
7aa040c
..
0ce452f
100644
(file)
--- 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;