Signed-off-by: Jeremy White <jwh...@codeweavers.com> --- src/qxl_surface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/qxl_surface.c b/src/qxl_surface.c index fc1bdf9..d1644a4 100644 --- a/src/qxl_surface.c +++ b/src/qxl_surface.c @@ -294,7 +294,7 @@ upload_one_primary_region(qxl_screen_t *qxl, PixmapPtr pixmap, BoxPtr b) rect.top = b->y1; rect.bottom = b->y2; - drawable_bo = make_drawable (qxl, NULL, QXL_DRAW_COPY, &rect); + drawable_bo = make_drawable (qxl, qxl->primary, QXL_DRAW_COPY, &rect); drawable = qxl->bo_funcs->bo_map(drawable_bo); drawable->u.copy.src_area = rect; translate_rect (&drawable->u.copy.src_area); -- 1.7.10.4 _______________________________________________ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel