aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2017-07-12 10:25:10 -0600
committerBrian Paul <[email protected]>2017-07-12 10:58:14 -0600
commitf2b59f6c023ee34cb8f605714abf144d1992df53 (patch)
tree109c3eedb4b6ecef6ca27748fd8efb747a6962f9
parent183d4193b8c35b73940bec8363ebfb8070b8b281 (diff)
svga: whitespace, formatting fixes in svga_swtnl_draw.c
-rw-r--r--src/gallium/drivers/svga/svga_swtnl_draw.c18
1 files changed, 9 insertions, 9 deletions
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);
}