diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2005-11-16 02:00:34 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2005-11-16 02:00:34 +0000 |
commit | 0ad64faec79770ad97044257ab1baf0675187aea (patch) | |
tree | 249d92f5c1d33fa2e689beb899bea9ce7cad9696 | |
parent | 738f501f731d9b03a1ff130381ea087c05a7ad40 (diff) |
change an assertion
-rw-r--r-- | src/mesa/tnl/t_vb_render.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_vb_render.c b/src/mesa/tnl/t_vb_render.c index e322d65c60..f6e16a9f2b 100644 --- a/src/mesa/tnl/t_vb_render.c +++ b/src/mesa/tnl/t_vb_render.c @@ -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", |