projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
738f501
)
change an assertion
author
Brian Paul
<brian.paul@tungstengraphics.com>
Wed, 16 Nov 2005 02:00:34 +0000
(
02:00
+0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Wed, 16 Nov 2005 02:00:34 +0000
(
02:00
+0000)
src/mesa/tnl/t_vb_render.c
patch
|
blob
|
history
diff --git
a/src/mesa/tnl/t_vb_render.c
b/src/mesa/tnl/t_vb_render.c
index e322d65c60157e3b6034e74ca25e3fe029ccbd03..f6e16a9f2b5cd5974393aecdae3ba7d2e2f70367 100644
(file)
--- 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",