[2/2] etnaviv: blt: s/TRUE/true && s/FALSE/false

Submitted by Christian Gmeiner on May 24, 2019, 10:45 a.m.

Details

Message ID 20190524104520.5706-2-christian.gmeiner@gmail.com
State New
Headers show
Series "Series without cover letter" ( rev: 1 ) in Mesa

Not browsing as part of any series.

Commit Message

Christian Gmeiner May 24, 2019, 10:45 a.m.
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
---
 src/gallium/drivers/etnaviv/etnaviv_blt.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch hide | download patch | download mbox

diff --git a/src/gallium/drivers/etnaviv/etnaviv_blt.c b/src/gallium/drivers/etnaviv/etnaviv_blt.c
index 42190d75d4e..cb6e81999fc 100644
--- a/src/gallium/drivers/etnaviv/etnaviv_blt.c
+++ b/src/gallium/drivers/etnaviv/etnaviv_blt.c
@@ -419,7 +419,7 @@  etna_try_blt_blit(struct pipe_context *pctx,
       /* Resolve-in-place */
       assert(!memcmp(&blit_info->src, &blit_info->dst, sizeof(blit_info->src)));
       if (!src_lev->ts_size || !src_lev->ts_valid) /* No TS, no worries */
-         return TRUE;
+         return true;
       struct blt_inplace_op op = {};
 
       op.addr.bo = src->bo;
@@ -516,7 +516,7 @@  etna_try_blt_blit(struct pipe_context *pctx,
    dst->seqno++;
    dst_lev->ts_valid = false;
 
-   return TRUE;
+   return true;
 }
 
 static void

Comments

Hi Christian,

On Fri, May 24, 2019 at 7:52 AM Christian Gmeiner
<christian.gmeiner@gmail.com> wrote:
>
> Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>

Maybe you could remove the '&& s/FALSE/false' from the Subject since
you are only replacing the TRUE occurrences in this patch.