mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-08 03:30:26 +01:00
change an assertion
This commit is contained in:
parent
738f501f73
commit
0ad64faec7
1 changed files with 1 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue