summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i965/brw_clip_util.c
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2009-11-25 23:02:46 +0000
committerKeith Whitwell <keithw@vmware.com>2009-11-30 15:37:27 +0000
commit4490122d0cae360d1552cea7d7d860de352f13f6 (patch)
tree27161fe8ca7eb60d60a5c9c69715055b1e594631 /src/gallium/drivers/i965/brw_clip_util.c
parentca9b0e942c5f8f95383c637b05e3fb237f013688 (diff)
i965g: remove redundant nr_attrs member
Diffstat (limited to 'src/gallium/drivers/i965/brw_clip_util.c')
-rw-r--r--src/gallium/drivers/i965/brw_clip_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i965/brw_clip_util.c b/src/gallium/drivers/i965/brw_clip_util.c
index 872042c9a9..97a5710310 100644
--- a/src/gallium/drivers/i965/brw_clip_util.c
+++ b/src/gallium/drivers/i965/brw_clip_util.c
@@ -140,7 +140,7 @@ void brw_clip_interp_vertex( struct brw_clip_compile *c,
/* Iterate over each attribute (could be done in pairs?)
*/
- for (i = 0; i < c->nr_attrs; i++) {
+ for (i = 0; i < c->key.nr_attrs; i++) {
GLuint delta = i*16 + 32;
if (c->chipset.is_igdng)