sna: Set the damage for render->copy_boxes to NULL before use
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
58f634b792
commit
ec1ccb6bf6
|
|
@ -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) ||
|
||||
|
|
|
|||
|
|
@ -3859,6 +3859,7 @@ fallback_blt:
|
|||
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) ||
|
||||
|
|
|
|||
|
|
@ -2466,6 +2466,7 @@ fallback_blt:
|
|||
tmp.dst.height = dst->drawable.height;
|
||||
tmp.dst.x = tmp.dst.y = 0;
|
||||
tmp.dst.bo = dst_bo;
|
||||
tmp.damage = NULL;
|
||||
|
||||
sna_render_composite_redirect_init(&tmp);
|
||||
if (too_large(tmp.dst.width, tmp.dst.height)) {
|
||||
|
|
|
|||
|
|
@ -2781,6 +2781,7 @@ fallback_blt:
|
|||
tmp.dst.height = dst->drawable.height;
|
||||
tmp.dst.x = tmp.dst.y = 0;
|
||||
tmp.dst.bo = dst_bo;
|
||||
tmp.damage = NULL;
|
||||
|
||||
sna_render_composite_redirect_init(&tmp);
|
||||
if (too_large(tmp.dst.width, tmp.dst.height)) {
|
||||
|
|
|
|||
|
|
@ -3259,6 +3259,7 @@ fallback_blt:
|
|||
tmp.dst.height = dst->drawable.height;
|
||||
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)) {
|
||||
|
|
|
|||
|
|
@ -3243,6 +3243,7 @@ fallback_blt:
|
|||
tmp.dst.height = dst->drawable.height;
|
||||
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)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue