summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorStephane Marchesin <marchesin@icps.u-strasbg.fr>2006-11-23 09:21:44 +0000
committerStephane Marchesin <marchesin@icps.u-strasbg.fr>2006-11-23 09:21:44 +0000
commit0faf23c26aca46568c32272bc189356e2e9fd373 (patch)
tree70aa0b4c40cb1c1898ec138889a5d022fddf48aa /src/mesa/drivers/dri
parent7398748addd3e7a776f30f30376f4ed37f77da8d (diff)
That was really stupid.
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/nouveau/nv10_swtcl.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nv10_swtcl.c b/src/mesa/drivers/dri/nouveau/nv10_swtcl.c
index 198e3a2668..4d05a439bb 100644
--- a/src/mesa/drivers/dri/nouveau/nv10_swtcl.c
+++ b/src/mesa/drivers/dri/nouveau/nv10_swtcl.c
@@ -427,7 +427,11 @@ static inline void nv10OutputVertexFormat(struct nouveau_context* nmesa)
total_size+=attr_size[i];
}
}
- nmesa->vertex_size=total_size;
+ nmesa->vertex_size=_tnl_install_attrs( ctx,
+ nmesa->vertex_attrs,
+ nmesa->vertex_attr_count,
+ NULL, 0 );
+ assert(nmesa->vertex_size==total_size*4);
/*
* Tell the hardware about the vertex format