summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2016-08-25 15:06:18 -0600
committerBrian Paul <brianp@vmware.com>2016-08-26 14:20:18 -0600
commit088dd8f45e70504aa5f5a35e9970c8c14f2cf8fc (patch)
treeb448ecbc40be226f10aa976a52b094b87ab26800
parente206f672612d08bc0353a021336440a5523d1d18 (diff)
svga: minor reformatting of svga_texture() cast wrapper
Reviewed-by: Neha Bhende <bhenden@vmware.com>
-rw-r--r--src/gallium/drivers/svga/svga_resource_texture.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/svga_resource_texture.h b/src/gallium/drivers/svga/svga_resource_texture.h
index e779f19fbad..ffd5feac9a3 100644
--- a/src/gallium/drivers/svga/svga_resource_texture.h
+++ b/src/gallium/drivers/svga/svga_resource_texture.h
@@ -117,7 +117,8 @@ struct svga_transfer
};
-static inline struct svga_texture *svga_texture( struct pipe_resource *resource )
+static inline struct svga_texture *
+svga_texture(struct pipe_resource *resource)
{
struct svga_texture *tex = (struct svga_texture *)resource;
assert(tex == NULL || tex->b.vtbl == &svga_texture_vtbl);