summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2017-06-22 13:32:50 -0600
committerBrian Paul <[email protected]>2017-06-22 13:33:48 -0600
commit9e57a2cbcf3d8d9feb1919495f9d2e6ca4419ab0 (patch)
tree0d12abafb6d07bcc317e0d9da0551bb908a06533 /src/gallium/drivers/svga
parent041f8ae9f6bab39361263f6c767ea5294f1aa011 (diff)
svga: minor whitespace fixes in svga_pipe_vertex.c
Diffstat (limited to 'src/gallium/drivers/svga')
-rw-r--r--src/gallium/drivers/svga/svga_pipe_vertex.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/gallium/drivers/svga/svga_pipe_vertex.c b/src/gallium/drivers/svga/svga_pipe_vertex.c
index 9f67608d528..8fbe8a15d05 100644
--- a/src/gallium/drivers/svga/svga_pipe_vertex.c
+++ b/src/gallium/drivers/svga/svga_pipe_vertex.c
@@ -40,9 +40,10 @@
#include "svga_screen.h"
-static void svga_set_vertex_buffers(struct pipe_context *pipe,
- unsigned start_slot, unsigned count,
- const struct pipe_vertex_buffer *buffers)
+static void
+svga_set_vertex_buffers(struct pipe_context *pipe,
+ unsigned start_slot, unsigned count,
+ const struct pipe_vertex_buffer *buffers)
{
struct svga_context *svga = svga_context(pipe);
@@ -314,10 +315,12 @@ svga_delete_vertex_elements_state(struct pipe_context *pipe, void *state)
svga->hud.num_vertexelement_objects--;
}
-void svga_cleanup_vertex_state( struct svga_context *svga )
+
+void
+svga_cleanup_vertex_state(struct svga_context *svga)
{
unsigned i;
-
+
for (i = 0 ; i < svga->curr.num_vertex_buffers; i++)
pipe_vertex_buffer_unreference(&svga->curr.vb[i]);
@@ -328,7 +331,8 @@ void svga_cleanup_vertex_state( struct svga_context *svga )
}
-void svga_init_vertex_functions( struct svga_context *svga )
+void
+svga_init_vertex_functions(struct svga_context *svga)
{
svga->pipe.set_vertex_buffers = svga_set_vertex_buffers;
svga->pipe.create_vertex_elements_state = svga_create_vertex_elements_state;