summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/trace/tr_texture.h
diff options
context:
space:
mode:
authorEdward O'Callaghan <[email protected]>2015-12-04 16:47:56 +1100
committerMarek Olšák <[email protected]>2015-12-06 17:10:22 +0100
commit25b3d554c4403b3b63f58cea6f0fc0cf3232a1c0 (patch)
treed74b0ff17a352230911b0ed9298055ef04fd633c /src/gallium/drivers/trace/tr_texture.h
parent34782eec31d66e6392390fdf47b1860af08bcde6 (diff)
gallium/drivers: Trivial code-style cleanup
Signed-off-by: Edward O'Callaghan <[email protected]> Signed-off-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/trace/tr_texture.h')
-rw-r--r--src/gallium/drivers/trace/tr_texture.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/trace/tr_texture.h b/src/gallium/drivers/trace/tr_texture.h
index e48b7b39e24..af508511567 100644
--- a/src/gallium/drivers/trace/tr_texture.h
+++ b/src/gallium/drivers/trace/tr_texture.h
@@ -88,7 +88,7 @@ struct trace_transfer
static inline struct trace_resource *
trace_resource(struct pipe_resource *texture)
{
- if(!texture)
+ if (!texture)
return NULL;
(void)trace_screen(texture->screen);
return (struct trace_resource *)texture;
@@ -98,7 +98,7 @@ trace_resource(struct pipe_resource *texture)
static inline struct trace_surface *
trace_surface(struct pipe_surface *surface)
{
- if(!surface)
+ if (!surface)
return NULL;
(void)trace_resource(surface->texture);
return (struct trace_surface *)surface;
@@ -117,7 +117,7 @@ trace_sampler_view(struct pipe_sampler_view *sampler_view)
static inline struct trace_transfer *
trace_transfer(struct pipe_transfer *transfer)
{
- if(!transfer)
+ if (!transfer)
return NULL;
(void)trace_resource(transfer->resource);
return (struct trace_transfer *)transfer;