diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-06-16 10:13:09 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-06-16 10:13:09 +0100 |
commit | 6b82962e58c0959c94f2df1f0ebd9a478b15cb6b (patch) | |
tree | 052bda97d7c03608934792433970ade5d156f9ac /src | |
parent | 62102f505cd13840e4c910adbe762b3fb46dfaec (diff) |
sna: Fix logic inversion for final placement in is_gpu_dst()
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src')
-rw-r--r-- | src/sna/sna_render_inline.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_render_inline.h b/src/sna/sna_render_inline.h index 50a19c84..3750117e 100644 --- a/src/sna/sna_render_inline.h +++ b/src/sna/sna_render_inline.h @@ -129,7 +129,7 @@ is_gpu_dst(struct sna_pixmap *priv) if (DAMAGE_IS_ALL(priv->cpu_damage)) return false; - return priv->gpu_damage == NULL && priv->cpu; + return priv->gpu_damage != NULL || !priv->cpu; } static inline bool |