fix sproingies bug

This commit is contained in:
Keith Whitwell
2000-12-27 21:49:40 +00:00
parent 719344b23e
commit 93259cdfa1
5 changed files with 21 additions and 27 deletions

View File

@@ -1,4 +1,4 @@
/* $Id: t_vb_render.c,v 1.2 2000/12/27 19:57:37 keithw Exp $ */
/* $Id: t_vb_render.c,v 1.3 2000/12/27 21:49:40 keithw Exp $ */
/*
* Mesa 3-D graphics library
@@ -562,6 +562,9 @@ static GLboolean run_render( GLcontext *ctx,
length= VB->PrimitiveLength[i];
ASSERT(length || (flags & PRIM_LAST));
ASSERT((flags & PRIM_MODE_MASK) <= GL_POLYGON+1);
/* fprintf(stderr, "render %s %d..%d\n", */
/* _mesa_prim_name[flags & PRIM_MODE_MASK], */
/* i, i+length); */
if (length)
tab[flags & PRIM_MODE_MASK]( ctx, i, i + length, flags );
}