diff options
author | Eric Anholt <eric@anholt.net> | 2009-12-16 15:42:55 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-12-22 14:20:27 -0800 |
commit | cb3810dd19760797e699c47929f655b829c4d339 (patch) | |
tree | 5e488a5f8c8ad3a42f6669aec8611dad2ebad291 /src/mesa/drivers/dri/i965/brw_misc_state.c | |
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/i965/brw_misc_state.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_misc_state.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_misc_state.c b/src/mesa/drivers/dri/i965/brw_misc_state.c index fd14eaa612..d437b1e030 100644 --- a/src/mesa/drivers/dri/i965/brw_misc_state.c +++ b/src/mesa/drivers/dri/i965/brw_misc_state.c @@ -374,8 +374,8 @@ const struct brw_tracked_state brw_polygon_stipple_offset = { static void upload_aa_line_parameters(struct brw_context *brw) { struct brw_aa_line_parameters balp; - - if (BRW_IS_965(brw)) + + if (!brw->has_aa_line_parameters) return; /* use legacy aa line coverage computation */ |