From 10c18b1a4631ebab5508f4308c73129f2111e964 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 15 May 2014 21:50:41 +0100 Subject: intel-virtual-output: Mark the source SHMPixmap as writeable This is fortunately a no-op, as it gets initialized to zero already (that is the pixmap is writeable). However, we may as well do the right thing... Signed-off-by: Chris Wilson --- tools/virtual.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/virtual.c') diff --git a/tools/virtual.c b/tools/virtual.c index d7929573..d1076174 100644 --- a/tools/virtual.c +++ b/tools/virtual.c @@ -967,7 +967,7 @@ static int clone_init_xfer(struct clone *clone) if (clone->src.use_shm) { clone->src.shm = clone->shm; - clone->dst.shm.readOnly = False; + clone->src.shm.readOnly = False; XShmAttach(clone->src.dpy, &clone->src.shm); XSync(clone->src.dpy, False); } -- cgit v1.2.3