OSDN Git Service

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 9d18db5..26d991b 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 7ab25e7..bf50d7b 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);