summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorBen Skeggs <darktama@iinet.net.au>2007-02-06 01:57:04 +1100
committerBen Skeggs <darktama@iinet.net.au>2007-02-06 01:57:04 +1100
commit47bd759fc9a8f886b90af9a5d53cbb896f37358e (patch)
treee4ef273714a30fce48bfedf4d08a85634b822d9c /src/mesa/drivers/dri
parente7654b22aa02636d17a88a9a5ee1eeb213d81f30 (diff)
nouveau: fix a small bug in nv10 swtcl
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/nouveau/nv10_swtcl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nv10_swtcl.c b/src/mesa/drivers/dri/nouveau/nv10_swtcl.c
index 9891b363cb..6f57b775df 100644
--- a/src/mesa/drivers/dri/nouveau/nv10_swtcl.c
+++ b/src/mesa/drivers/dri/nouveau/nv10_swtcl.c
@@ -196,7 +196,7 @@ static inline void nv10_render_generic_primitive_elts(GLcontext *ctx,GLuint star
GLuint j;
nv10ExtendPrimitive(nmesa, size_dword);
- nv10StartPrimitive(nmesa,prim+1,size_dword);
+ nv10StartPrimitive(nmesa,prim+1,size_dword*count);
for (j=start; j<count; j++ ) {
OUT_RINGp((nouveauVertex*)(vertptr+(elt[j]*vertsize)),vertsize);
}