summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sna/sna_video_overlay.c1
-rw-r--r--src/sna/sna_video_sprite.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/sna/sna_video_overlay.c b/src/sna/sna_video_overlay.c
index b73e9ddf..a1cc4b98 100644
--- a/src/sna/sna_video_overlay.c
+++ b/src/sna/sna_video_overlay.c
@@ -532,6 +532,7 @@ sna_video_overlay_put_image(ScrnInfoPtr scrn,
return BadAlloc;
}
+ frame.bo->domain = DOMAIN_NONE;
sna_video_buffer_fini(sna, video);
/* update cliplist */
diff --git a/src/sna/sna_video_sprite.c b/src/sna/sna_video_sprite.c
index a912590f..e90c18c3 100644
--- a/src/sna/sna_video_sprite.c
+++ b/src/sna/sna_video_sprite.c
@@ -250,6 +250,7 @@ sna_video_sprite_show(struct sna *sna,
0, 0, frame->width << 16, frame->height << 16))
return false;
+ frame->bo->domain = DOMAIN_NONE;
video->plane = plane;
return true;
}