diff options
author | Aapo Tahkola <[email protected]> | 2006-06-27 01:26:47 +0000 |
---|---|---|
committer | Aapo Tahkola <[email protected]> | 2006-06-27 01:26:47 +0000 |
commit | caf0176472ea024e70b2401d622947281b316a24 (patch) | |
tree | e49e737def3fa6f356072bbaa1b09d0add6ad2a4 /src/mesa/drivers/dri/r300/radeon_vtxfmt_a.c | |
parent | 4e0617849c5c6f459f534dc4b2be51909e0755a4 (diff) |
Fix generic vertex attribs (Rune Petersen)
Diffstat (limited to 'src/mesa/drivers/dri/r300/radeon_vtxfmt_a.c')
-rw-r--r-- | src/mesa/drivers/dri/r300/radeon_vtxfmt_a.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/radeon_vtxfmt_a.c b/src/mesa/drivers/dri/r300/radeon_vtxfmt_a.c index c65731d1d7a..b46fee7e309 100644 --- a/src/mesa/drivers/dri/r300/radeon_vtxfmt_a.c +++ b/src/mesa/drivers/dri/r300/radeon_vtxfmt_a.c @@ -73,6 +73,9 @@ void radeon_vb_to_rvb(r300ContextPtr rmesa, struct radeon_vertex_buffer *rvb, st for (i=0; i < ctx->Const.MaxTextureCoordUnits; i++) CONV_VB(VERT_ATTRIB_TEX0 + i, TexCoordPtr[i]); + + for (i=0; i < 16; i++) + CONV_VB(VERT_ATTRIB_GENERIC0 + i, AttribPtr[VERT_ATTRIB_GENERIC0 + i]); rvb->Primitive = vb->Primitive; rvb->PrimitiveCount = vb->PrimitiveCount; |