diff options
author | Brian Paul <brianp@vmware.com> | 2009-09-09 09:00:58 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-09-09 09:00:58 -0600 |
commit | 7bf63473623e01933adc0e8f4464eda8f2860564 (patch) | |
tree | 4cfb1b611c999c4b158e6809ee78a02e4d7698b5 /src/mesa/drivers/dri/i965/brw_draw_upload.c | |
parent | 94a8157ef6bf6695cdc66325c9a7698e64f3e37e (diff) | |
parent | 0c309bb494b6ee1c403442d1207743f749f95b6e (diff) |
Merge branch 'mesa_7_6_branch'
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_draw_upload.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_draw_upload.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_draw_upload.c b/src/mesa/drivers/dri/i965/brw_draw_upload.c index 27dabc02f3..765ae5a2fe 100644 --- a/src/mesa/drivers/dri/i965/brw_draw_upload.c +++ b/src/mesa/drivers/dri/i965/brw_draw_upload.c @@ -423,7 +423,7 @@ static void brw_prepare_vertices(struct brw_context *brw) /* Queue the buffer object up to be uploaded in the next pass, * when we've decided if we're doing interleaved or not. */ - if (i == 0) { + if (input->attrib == VERT_ATTRIB_POS) { /* Position array not properly enabled: */ if (input->glarray->StrideB == 0) { |