change an assertion
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user