summaryrefslogtreecommitdiff
path: root/src/mesa/swrast_setup/ss_triangle.c
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2001-01-14 06:14:21 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2001-01-14 06:14:21 +0000
commit3fd01320f1ce3b78584c1fec9b1d6805e8ee6786 (patch)
tree202d3e095e37b093a872bc4bce612c04d68a501f /src/mesa/swrast_setup/ss_triangle.c
parentab8b047ae59c111b4e4ab4fd43a2c6573caf5b85 (diff)
Fixed conform feedback and drawelements tests.
Use correct pv when rasterizing unfilled polys.
Diffstat (limited to 'src/mesa/swrast_setup/ss_triangle.c')
-rw-r--r--src/mesa/swrast_setup/ss_triangle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/swrast_setup/ss_triangle.c b/src/mesa/swrast_setup/ss_triangle.c
index 5fd5cd0f57..73a19ad38a 100644
--- a/src/mesa/swrast_setup/ss_triangle.c
+++ b/src/mesa/swrast_setup/ss_triangle.c
@@ -144,11 +144,11 @@ static void swsetup_points( GLcontext *ctx, GLuint first, GLuint last )
int i;
if (VB->Elts) {
- for(i=first;i<=last;i++)
+ for(i=first;i<last;i++)
if(VB->ClipMask[VB->Elts[i]]==0)
_swrast_Point( ctx, &verts[VB->Elts[i]] );
} else {
- for(i=first;i<=last;i++)
+ for(i=first;i<last;i++)
if(VB->ClipMask[i]==0)
_swrast_Point( ctx, &verts[i] );
}