diff options
author | Brian Paul <brianp@vmware.com> | 2012-01-07 14:16:27 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2012-01-07 14:16:27 -0700 |
commit | 488dd2c1912132fe7ee5e81b05fb64ba62a46098 (patch) | |
tree | 6001b0d4ae1e9278514766d739ade3a9b23fae82 /src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c | |
parent | 59d2c4f8e5a00133c093137b2f4836313f633d60 (diff) | |
download | external_mesa3d-488dd2c1912132fe7ee5e81b05fb64ba62a46098.zip external_mesa3d-488dd2c1912132fe7ee5e81b05fb64ba62a46098.tar.gz external_mesa3d-488dd2c1912132fe7ee5e81b05fb64ba62a46098.tar.bz2 |
gallium: make vbuf_render::set_primitive() return void
All the implementations of this function always return TRUE.
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c | 6 |
1 files changed, 1 insertions, 5 deletions
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 0dbbfe2..4bed256 100644 --- a/src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c +++ b/src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c @@ -83,11 +83,7 @@ static void fse_prepare( struct draw_pt_middle_end *middle, */ assert(!draw->gs.geometry_shader); - if (!draw->render->set_primitive( draw->render, - prim )) { - assert(0); - return; - } + draw->render->set_primitive(draw->render, prim); /* Must do this after set_primitive() above: */ |