diff options
author | Stephane Marchesin <[email protected]> | 2007-01-15 12:38:24 +0100 |
---|---|---|
committer | Stephane Marchesin <[email protected]> | 2007-01-15 12:38:24 +0100 |
commit | 4c7d36b688866129a17c3f59aa9374b2f9a874de (patch) | |
tree | 810f27c379adeb04fdc771ee4b43d8760600edb1 /src/mesa | |
parent | 16f35a3a22fa782f6bb8a51ef32d6668a5c60e85 (diff) |
nouveau: Fix a bug in the nv04 swtcl.
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/nouveau/nv04_swtcl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nv04_swtcl.c b/src/mesa/drivers/dri/nouveau/nv04_swtcl.c index e4ace92134b..f31c0d692de 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(GLcontext *ctx,GLuint start,GLuint count,G 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; |