diff options
author | Eric Anholt <[email protected]> | 2009-12-16 15:42:55 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2009-12-22 14:20:27 -0800 |
commit | cb3810dd19760797e699c47929f655b829c4d339 (patch) | |
tree | 5e488a5f8c8ad3a42f6669aec8611dad2ebad291 /src/mesa/drivers/dri/intel | |
parent | 0b87f143c466f7e5bd730895ee29f1cd20a68f9b (diff) |
intel: Replace IS_965 checks with context structure usage.
Saves another 600 bytes or so of code.
Diffstat (limited to 'src/mesa/drivers/dri/intel')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_extensions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_extensions.c b/src/mesa/drivers/dri/intel/intel_extensions.c index 86dc42cc510..bb50531d98f 100644 --- a/src/mesa/drivers/dri/intel/intel_extensions.c +++ b/src/mesa/drivers/dri/intel/intel_extensions.c @@ -196,7 +196,7 @@ intelInitExtensions(GLcontext *ctx) */ driInitExtensions(ctx, card_extensions, GL_FALSE); - if (IS_965(intel->intelScreen->deviceID)) + if (intel->gen >= 4) driInitExtensions(ctx, brw_extensions, GL_FALSE); if (IS_915(intel->intelScreen->deviceID) |