From 47bd759fc9a8f886b90af9a5d53cbb896f37358e Mon Sep 17 00:00:00 2001 From: Ben Skeggs Date: Tue, 6 Feb 2007 01:57:04 +1100 Subject: nouveau: fix a small bug in nv10 swtcl --- src/mesa/drivers/dri/nouveau/nv10_swtcl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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