From: Brian Paul Date: Wed, 12 Jul 2017 16:25:10 +0000 (-0600) Subject: svga: whitespace, formatting fixes in svga_swtnl_draw.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f2b59f6c023ee34cb8f605714abf144d1992df53;p=mesa.git svga: whitespace, formatting fixes in svga_swtnl_draw.c --- diff --git a/src/gallium/drivers/svga/svga_swtnl_draw.c b/src/gallium/drivers/svga/svga_swtnl_draw.c index 8dcfac8c3e2..3db7a4b3b71 100644 --- a/src/gallium/drivers/svga/svga_swtnl_draw.c +++ b/src/gallium/drivers/svga/svga_swtnl_draw.c @@ -149,9 +149,8 @@ svga_swtnl_draw_vbo(struct svga_context *svga, } - - -boolean svga_init_swtnl( struct svga_context *svga ) +boolean +svga_init_swtnl(struct svga_context *svga) { struct svga_screen *screen = svga_screen(svga->pipe.screen); @@ -167,8 +166,8 @@ boolean svga_init_swtnl( struct svga_context *svga ) goto fail; - draw_set_rasterize_stage(svga->swtnl.draw, - draw_vbuf_stage( svga->swtnl.draw, svga->swtnl.backend )); + draw_set_rasterize_stage(svga->swtnl.draw, + draw_vbuf_stage(svga->swtnl.draw, svga->swtnl.backend)); draw_set_render(svga->swtnl.draw, svga->swtnl.backend); @@ -204,16 +203,17 @@ fail: util_blitter_destroy(svga->blitter); if (svga->swtnl.backend) - svga->swtnl.backend->destroy( svga->swtnl.backend ); + svga->swtnl.backend->destroy(svga->swtnl.backend); if (svga->swtnl.draw) - draw_destroy( svga->swtnl.draw ); + draw_destroy(svga->swtnl.draw); return FALSE; } -void svga_destroy_swtnl( struct svga_context *svga ) +void +svga_destroy_swtnl(struct svga_context *svga) { - draw_destroy( svga->swtnl.draw ); + draw_destroy(svga->swtnl.draw); }