summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/draw/draw_pipe_vbuf.c
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@tungstengraphics.com>2008-12-10 20:21:19 +0000
committerAlan Hourihane <alanh@tungstengraphics.com>2008-12-10 20:21:19 +0000
commitb716de47798defa7d22b0f15b201af6fba27f0b9 (patch)
tree23d52607c713f7061dce16e957cb655676bfaef2 /src/gallium/auxiliary/draw/draw_pipe_vbuf.c
parenta8e7852b05f95cc695f3a05692a6ccd36298faf7 (diff)
gallium: change 65535 to UNDEFINED_VERTEX_ID
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_pipe_vbuf.c')
-rw-r--r--src/gallium/auxiliary/draw/draw_pipe_vbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pipe_vbuf.c b/src/gallium/auxiliary/draw/draw_pipe_vbuf.c
index fb0d895084..5ead25efff 100644
--- a/src/gallium/auxiliary/draw/draw_pipe_vbuf.c
+++ b/src/gallium/auxiliary/draw/draw_pipe_vbuf.c
@@ -399,7 +399,7 @@ vbuf_alloc_vertices( struct vbuf_stage *vbuf )
* and it will flush itself if necessary to do so. If this does
* fail, we are basically without usable hardware.
*/
- assert(vbuf->max_vertices < 65536);
+ assert(vbuf->max_vertices < UNDEFINED_VERTEX_ID);
vbuf->vertices = (uint *) vbuf->render->allocate_vertices(vbuf->render,
(ushort) vbuf->vertex_size,