diff options
author | Brian Paul <[email protected]> | 2009-09-08 12:21:42 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-09-08 12:21:42 -0600 |
commit | 8de625c7cf639c583e8bf43acb1214010989bb64 (patch) | |
tree | 6e3bff5a95b80b4fee143978c2863f7b2795bf6a /src/mesa/drivers/dri/i965/brw_draw.c | |
parent | 18bdb6e712d43632dcd2e73cea68e0b2953fe62e (diff) |
i965: fix incorrect test for vertex position attribute
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_draw.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_draw.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_draw.c b/src/mesa/drivers/dri/i965/brw_draw.c index 5342622a737..54b0661db85 100644 --- a/src/mesa/drivers/dri/i965/brw_draw.c +++ b/src/mesa/drivers/dri/i965/brw_draw.c @@ -185,6 +185,7 @@ static void brw_merge_inputs( struct brw_context *brw, for (i = 0; i < VERT_ATTRIB_MAX; i++) { brw->vb.inputs[i].glarray = arrays[i]; + brw->vb.inputs[i].attrib = (gl_vert_attrib) i; if (arrays[i]->StrideB != 0) brw->vb.info.varying |= 1 << i; |