[Spice-devel] [xf86-PATCH 1/2] We're uploading a drawable from the primary surface, use it.
Jeremy White
jwhite at codeweavers.com
Wed Mar 6 10:34:03 PST 2013
Signed-off-by: Jeremy White <jwhite at 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
More information about the Spice-devel
mailing list