summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/draw/draw_pt_emit.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_pt_emit.c
parenta8e7852b05f95cc695f3a05692a6ccd36298faf7 (diff)
gallium: change 65535 to UNDEFINED_VERTEX_ID
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_pt_emit.c')
-rw-r--r--src/gallium/auxiliary/draw/draw_pt_emit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt_emit.c b/src/gallium/auxiliary/draw/draw_pt_emit.c
index c4fc93ffba..232dfdaed2 100644
--- a/src/gallium/auxiliary/draw/draw_pt_emit.c
+++ b/src/gallium/auxiliary/draw/draw_pt_emit.c
@@ -165,7 +165,7 @@ void draw_pt_emit( struct pt_emit *emit,
*/
draw_do_flush( draw, DRAW_FLUSH_BACKEND );
- if (vertex_count > 65535) { /* FIXME */
+ if (vertex_count >= UNDEFINED_VERTEX_ID) {
assert(0);
return;
}
@@ -231,7 +231,7 @@ void draw_pt_emit_linear(struct pt_emit *emit,
*/
draw_do_flush( draw, DRAW_FLUSH_BACKEND );
- if (count > 65535) { /* FIXME */
+ if (count >= UNDEFINED_VERTEX_ID) {
assert(0);
return;
}