diff options
author | Ben Skeggs <[email protected]> | 2007-02-06 01:57:04 +1100 |
---|---|---|
committer | Ben Skeggs <[email protected]> | 2007-02-06 01:57:04 +1100 |
commit | 47bd759fc9a8f886b90af9a5d53cbb896f37358e (patch) | |
tree | e4ef273714a30fce48bfedf4d08a85634b822d9c | |
parent | e7654b22aa02636d17a88a9a5ee1eeb213d81f30 (diff) |
nouveau: fix a small bug in nv10 swtcl
-rw-r--r-- | src/mesa/drivers/dri/nouveau/nv10_swtcl.c | 2 |
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 9891b363cbe..6f57b775df0 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); } |