xf86-video-intel: src/sna/sna_accel.c
Chris Wilson
ickle at kemper.freedesktop.org
Sat Dec 24 03:46:36 PST 2011
src/sna/sna_accel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit b86e4f59299f935d5a0ea8375da97e6fc57571f9
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Sat Dec 24 11:45:27 2011 +0000
sna: Check that the copy dst is attached before replacing damage
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c
index 859530f..a8723d1 100644
--- a/src/sna/sna_accel.c
+++ b/src/sna/sna_accel.c
@@ -2396,7 +2396,7 @@ sna_copy_boxes(DrawablePtr src, DrawablePtr dst, GCPtr gc,
src_priv ? src_priv->cpu_bo : NULL,
replaces));
- if (replaces)
+ if (dst_priv && replaces)
sna_damage_destroy(&dst_priv->cpu_damage);
/* Try to maintain the data on the GPU */
More information about the xorg-commit
mailing list