From b716de47798defa7d22b0f15b201af6fba27f0b9 Mon Sep 17 00:00:00 2001 From: Alan Hourihane Date: Wed, 10 Dec 2008 20:21:19 +0000 Subject: gallium: change 65535 to UNDEFINED_VERTEX_ID --- src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c') diff --git a/src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c b/src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c index 69580f1..1649cdc 100644 --- a/src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c +++ b/src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c @@ -234,7 +234,7 @@ static void fse_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; } @@ -298,7 +298,7 @@ fse_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; } @@ -357,7 +357,7 @@ static boolean fse_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, -- cgit v1.1