diff options
author | Keith Whitwell <[email protected]> | 2003-12-08 12:32:50 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2003-12-08 12:32:50 +0000 |
commit | 034da5d817971ca8a8d25f6aab8c3c301cce5640 (patch) | |
tree | 92f963ae4bd6303a90febff2ac481d19f6c244d6 /src/mesa | |
parent | 58f88a29d2eeb9cc5f4658113d0ebe11f60ab61c (diff) |
Remove PRIM_PARITY reference
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/ffb/ffb_rendertmp.h | 2 | ||||
-rw-r--r-- | src/mesa/drivers/dri/tdfx/tdfx_tris.c | 5 |
2 files changed, 1 insertions, 6 deletions
diff --git a/src/mesa/drivers/dri/ffb/ffb_rendertmp.h b/src/mesa/drivers/dri/ffb/ffb_rendertmp.h index 9d18db5fdad..26d991b0815 100644 --- a/src/mesa/drivers/dri/ffb/ffb_rendertmp.h +++ b/src/mesa/drivers/dri/ffb/ffb_rendertmp.h @@ -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; diff --git a/src/mesa/drivers/dri/tdfx/tdfx_tris.c b/src/mesa/drivers/dri/tdfx/tdfx_tris.c index 7ab25e7b9ab..bf50d7bca77 100644 --- a/src/mesa/drivers/dri/tdfx/tdfx_tris.c +++ b/src/mesa/drivers/dri/tdfx/tdfx_tris.c @@ -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); |