diff options
author | Alan Hourihane <alanh@tungstengraphics.com> | 2008-12-10 20:21:19 +0000 |
---|---|---|
committer | Alan Hourihane <alanh@tungstengraphics.com> | 2008-12-10 20:21:19 +0000 |
commit | b716de47798defa7d22b0f15b201af6fba27f0b9 (patch) | |
tree | 23d52607c713f7061dce16e957cb655676bfaef2 /src/gallium/auxiliary/draw/draw_pt_fetch_emit.c | |
parent | a8e7852b05f95cc695f3a05692a6ccd36298faf7 (diff) |
gallium: change 65535 to UNDEFINED_VERTEX_ID
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_pt_fetch_emit.c')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_pt_fetch_emit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt_fetch_emit.c b/src/gallium/auxiliary/draw/draw_pt_fetch_emit.c index 5727b91c48..39159b747d 100644 --- a/src/gallium/auxiliary/draw/draw_pt_fetch_emit.c +++ b/src/gallium/auxiliary/draw/draw_pt_fetch_emit.c @@ -229,7 +229,7 @@ static void fetch_emit_run( struct draw_pt_middle_end *middle, */ draw_do_flush( draw, DRAW_FLUSH_BACKEND ); - if (fetch_count > 65535) { /* FIXME */ + if (fetch_count >= UNDEFINED_VERTEX_ID) { assert(0); return; } @@ -288,7 +288,7 @@ static void fetch_emit_run_linear( struct draw_pt_middle_end *middle, */ draw_do_flush( draw, DRAW_FLUSH_BACKEND ); - if (count > 65535) { /* FIXME */ + if (count >= UNDEFINED_VERTEX_ID) assert(0); return; } @@ -348,7 +348,7 @@ static boolean fetch_emit_run_linear_elts( struct draw_pt_middle_end *middle, */ draw_do_flush( draw, DRAW_FLUSH_BACKEND ); - if (count > 65535) /* FIXME */ + if (count >= UNDEFINED_VERTEX_ID) return FALSE; hw_verts = draw->render->allocate_vertices( draw->render, |