Browse Source

Remove PRIM_PARITY reference

tags/R300_DRIVER_0
Keith Whitwell 22 years ago
parent
commit
034da5d817
2 changed files with 1 additions and 6 deletions
  1. 0
    2
      src/mesa/drivers/dri/ffb/ffb_rendertmp.h
  2. 1
    4
      src/mesa/drivers/dri/tdfx/tdfx_tris.c

+ 0
- 2
src/mesa/drivers/dri/ffb/ffb_rendertmp.h View 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;

+ 1
- 4
src/mesa/drivers/dri/tdfx/tdfx_tris.c View 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);

Loading…
Cancel
Save