diff options
author | Eric Anholt <[email protected]> | 2009-12-16 15:50:40 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2009-12-22 14:20:27 -0800 |
commit | f67748038935e609aa85450b20d550b4813c9429 (patch) | |
tree | 34895335381f089cce20314342cd790d17e7b9f3 /src/mesa/drivers/dri/intel/intel_extensions.c | |
parent | cb3810dd19760797e699c47929f655b829c4d339 (diff) |
intel: Replace some gen3 IS_* checks with context structure usage.
Shaves 400 bytes or so from i915_dri.so.
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_extensions.c')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_extensions.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_extensions.c b/src/mesa/drivers/dri/intel/intel_extensions.c index bb50531d98f..5ac5ce10afb 100644 --- a/src/mesa/drivers/dri/intel/intel_extensions.c +++ b/src/mesa/drivers/dri/intel/intel_extensions.c @@ -199,8 +199,7 @@ intelInitExtensions(GLcontext *ctx) if (intel->gen >= 4) driInitExtensions(ctx, brw_extensions, GL_FALSE); - if (IS_915(intel->intelScreen->deviceID) - || IS_945(intel->intelScreen->deviceID)) { + if (intel->gen == 3) { driInitExtensions(ctx, i915_extensions, GL_FALSE); if (driQueryOptionb(&intel->optionCache, "fragment_shader")) |