From 488dd2c1912132fe7ee5e81b05fb64ba62a46098 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 7 Jan 2012 14:16:27 -0700 Subject: gallium: make vbuf_render::set_primitive() return void All the implementations of this function always return TRUE. --- src/gallium/drivers/r300/r300_render.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/gallium/drivers/r300/r300_render.c') diff --git a/src/gallium/drivers/r300/r300_render.c b/src/gallium/drivers/r300/r300_render.c index 90b8e53113f..7f04c93e418 100644 --- a/src/gallium/drivers/r300/r300_render.c +++ b/src/gallium/drivers/r300/r300_render.c @@ -981,15 +981,13 @@ static void r300_render_release_vertices(struct vbuf_render* render) r300render->vbo_max_used = 0; } -static boolean r300_render_set_primitive(struct vbuf_render* render, - unsigned prim) +static void r300_render_set_primitive(struct vbuf_render* render, + unsigned prim) { struct r300_render* r300render = r300_render(render); r300render->prim = prim; r300render->hwprim = r300_translate_primitive(prim); - - return TRUE; } static void r300_render_draw_arrays(struct vbuf_render* render, -- cgit v1.2.3