Fixed conform feedback and drawelements tests.

Use correct pv when rasterizing unfilled polys.
This commit is contained in:
Keith Whitwell
2001-01-14 06:14:21 +00:00
parent ab8b047ae5
commit 3fd01320f1
10 changed files with 29 additions and 27 deletions

View File

@@ -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] );
}