mesa: Branch 'master'

Stephane Marchesin marcheu at kemper.freedesktop.org
Mon Jan 15 11:32:09 UTC 2007


 src/mesa/drivers/dri/nouveau/nv04_swtcl.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

New commits:
diff-tree 4c7d36b688866129a17c3f59aa9374b2f9a874de (from 16f35a3a22fa782f6bb8a51ef32d6668a5c60e85)
Author: Stephane Marchesin <marchesin at icps.u-strasbg.fr>
Date:   Mon Jan 15 12:38:24 2007 +0100

    nouveau: Fix a bug in the nv04 swtcl.

diff --git a/src/mesa/drivers/dri/nouveau/nv04_swtcl.c b/src/mesa/drivers/dri/nouveau/nv04_swtcl.c
index e4ace92..f31c0d6 100644
--- a/src/mesa/drivers/dri/nouveau/nv04_swtcl.c
+++ b/src/mesa/drivers/dri/nouveau/nv04_swtcl.c
@@ -178,7 +178,7 @@ static void nv04_render_tri_fan_verts(GL
 	for(i=start+1;i<count;i+=14)
 	{
 		int numvert=MIN2(15,count-i);
-		int numtri=numvert-2;
+		int numtri=numvert-1;
 		if (numvert<3)
 			break;
 



More information about the mesa-commit mailing list