diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-01-18 13:09:36 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-01-18 13:09:36 +0000 |
commit | e17eaf540b614cdcb8f7349dd01852c3afc5ab05 (patch) | |
tree | 70e7044f46828abe4c0bbeb1d6f37f6321768234 /src/sna/sna_tiling.c | |
parent | 2de43a0164ba5364ffd7cb48f0bccc9873e87332 (diff) |
sna: Replace double negative '!RegionNotEmpty' with the equivalent RegionNil
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_tiling.c')
-rw-r--r-- | src/sna/sna_tiling.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sna/sna_tiling.c b/src/sna/sna_tiling.c index 9e70833c..5bebf002 100644 --- a/src/sna/sna_tiling.c +++ b/src/sna/sna_tiling.c @@ -624,7 +624,7 @@ sna_tiling_fill_boxes(struct sna *sna, RegionNull(&this); RegionIntersect(&this, ®ion, &tile); - if (!RegionNotEmpty(&this)) + if (RegionNil(&this)) continue; tmp.drawable.width = this.extents.x2 - this.extents.x1; @@ -737,7 +737,7 @@ bool sna_tiling_blt_copy_boxes(struct sna *sna, uint8_t alu, RegionNull(&this); RegionIntersect(&this, ®ion, &tile); - if (!RegionNotEmpty(&this)) + if (RegionNil(&this)) continue; w = this.extents.x2 - this.extents.x1; |