change an assertion

This commit is contained in:
Brian Paul 2005-11-16 02:00:34 +00:00
parent 738f501f73
commit 0ad64faec7

View file

@ -308,7 +308,7 @@ static GLboolean run_render( GLcontext *ctx,
GLuint start = VB->Primitive[i].start;
GLuint length = VB->Primitive[i].count;
assert((prim & PRIM_MODE_MASK) < GL_POLYGON+1);
assert((prim & PRIM_MODE_MASK) <= GL_POLYGON);
if (MESA_VERBOSE & VERBOSE_PRIMS)
_mesa_debug(NULL, "MESA prim %s %d..%d\n",