diff options
author | Edward O'Callaghan <[email protected]> | 2015-12-04 17:12:30 +1100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2015-12-06 17:10:22 +0100 |
commit | 147fd00bb36917f8463aacd49a26e95ca0926255 (patch) | |
tree | 377b6ed379b13754e2f18bf392a3b84c6babcf01 /src/gallium/auxiliary/draw | |
parent | 25b3d554c4403b3b63f58cea6f0fc0cf3232a1c0 (diff) |
gallium/auxiliary: 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/auxiliary/draw')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_llvm_sample.c | 2 | ||||
-rw-r--r-- | src/gallium/auxiliary/draw/draw_pt.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/draw/draw_llvm_sample.c b/src/gallium/auxiliary/draw/draw_llvm_sample.c index 32cad59d604..cb316956162 100644 --- a/src/gallium/auxiliary/draw/draw_llvm_sample.c +++ b/src/gallium/auxiliary/draw/draw_llvm_sample.c @@ -283,7 +283,7 @@ draw_llvm_sampler_soa_create(const struct draw_sampler_static_state *static_stat struct draw_llvm_sampler_soa *sampler; sampler = CALLOC_STRUCT(draw_llvm_sampler_soa); - if(!sampler) + if (!sampler) return NULL; sampler->base.destroy = draw_llvm_sampler_soa_destroy; diff --git a/src/gallium/auxiliary/draw/draw_pt.c b/src/gallium/auxiliary/draw/draw_pt.c index 3236e523a94..0204b439dee 100644 --- a/src/gallium/auxiliary/draw/draw_pt.c +++ b/src/gallium/auxiliary/draw/draw_pt.c @@ -109,7 +109,7 @@ draw_pt_arrays(struct draw_context *draw, frontend = draw->pt.frontend; - if (frontend ) { + if (frontend) { if (draw->pt.prim != prim || draw->pt.opt != opt) { /* In certain conditions switching primitives requires us to flush * and validate the different stages. One example is when smooth |