Remove PRIM_PARITY reference
authorKeith Whitwell <keith@tungstengraphics.com>
Mon, 8 Dec 2003 12:32:50 +0000 (12:32 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Mon, 8 Dec 2003 12:32:50 +0000 (12:32 +0000)
src/mesa/drivers/dri/ffb/ffb_rendertmp.h
src/mesa/drivers/dri/tdfx/tdfx_tris.c

index 9d18db5fdad56843087be922fdba986220a2e77f..26d991b08156b99a5ab444981761ccdb33397836 100644 (file)
@@ -325,8 +325,6 @@ static void TAG(ffb_vb_tri_strip)(GLcontext *ctx, GLuint start, GLuint count, GL
                __FUNCTION__, start, count, flags);
 #endif
        ffbRenderPrimitive(ctx, GL_TRIANGLE_STRIP);
-       if ((flags & PRIM_PARITY) != 0)
-               parity = 1;
 
        i = start + 2;
        goto something_clipped;
index 7ab25e7b9abbd72f8eac5d330e987daa70c20fd4..bf50d7bca77a87b08fd4b26b2b46bcb6c547499a 100644 (file)
@@ -709,10 +709,7 @@ static void tdfx_render_vb_tri_strip( GLcontext *ctx,
 /*     fprintf(stderr, "%s/%d\n", __FUNCTION__, 1<<shift); */
 /*     if(!prevLockLine) abort(); */
 
-   if (flags & PRIM_PARITY) 
-      mode = GR_TRIANGLE_STRIP_CONTINUE;
-   else
-      mode = GR_TRIANGLE_STRIP;
+   mode = GR_TRIANGLE_STRIP;
 
    fxMesa->Glide.grDrawVertexArrayContiguous( mode, count-start,
                                               fxVB, 1<<shift);