From: Ben Skeggs Date: Mon, 5 Feb 2007 14:57:04 +0000 (+1100) Subject: nouveau: fix a small bug in nv10 swtcl X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=47bd759fc9a8f886b90af9a5d53cbb896f37358e;p=mesa.git nouveau: fix a small bug in nv10 swtcl --- 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