Mesa (master): svga: minor reformatting of svga_texture() cast wrapper

Brian Paul brianp at kemper.freedesktop.org
Fri Aug 26 20:32:33 UTC 2016


Module: Mesa
Branch: master
Commit: 088dd8f45e70504aa5f5a35e9970c8c14f2cf8fc
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=088dd8f45e70504aa5f5a35e9970c8c14f2cf8fc

Author: Brian Paul <brianp at vmware.com>
Date:   Thu Aug 25 15:06:18 2016 -0600

svga: minor reformatting of svga_texture() cast wrapper

Reviewed-by: Neha Bhende <bhenden at vmware.com>

---

 src/gallium/drivers/svga/svga_resource_texture.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/gallium/drivers/svga/svga_resource_texture.h b/src/gallium/drivers/svga/svga_resource_texture.h
index e779f19..ffd5fea 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);




More information about the mesa-commit mailing list