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_display.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_display.c')
-rw-r--r-- | src/sna/sna_display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c index 4ff4d8ff..0a581da5 100644 --- a/src/sna/sna_display.c +++ b/src/sna/sna_display.c @@ -3203,7 +3203,7 @@ void sna_mode_redisplay(struct sna *sna) assert(sna->mode.shadow_active); region = DamageRegion(sna->mode.shadow_damage); - if (!RegionNotEmpty(region)) + if (RegionNil(region)) return; if (!sna_pixmap_move_to_gpu(sna->front, MOVE_READ)) { |