diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-02-07 13:37:52 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-02-07 13:37:52 +0000 |
commit | ec1ccb6bf6a984cbe3317e636d7ff73887348a46 (patch) | |
tree | fd0736f3c416b8857f9b8969dd9aff257abd2595 /src/sna/gen2_render.c | |
parent | 58f634b792c6d109c5f2374a3e24d759e744abb4 (diff) |
sna: Set the damage for render->copy_boxes to NULL before use
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/gen2_render.c')
-rw-r--r-- | src/sna/gen2_render.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sna/gen2_render.c b/src/sna/gen2_render.c index 1e0c680e..3db9ce73 100644 --- a/src/sna/gen2_render.c +++ b/src/sna/gen2_render.c @@ -2870,6 +2870,7 @@ fallback: tmp.dst.format = sna_format_for_depth(dst->drawable.depth); tmp.dst.bo = dst_bo; tmp.dst.x = tmp.dst.y = 0; + tmp.damage = NULL; sna_render_composite_redirect_init(&tmp); if (too_large(tmp.dst.width, tmp.dst.height) || |