diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-05-15 21:50:41 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-05-16 10:02:16 +0100 |
commit | 10c18b1a4631ebab5508f4308c73129f2111e964 (patch) | |
tree | 61c5675bffe9545e307ba994f59a1375dcba7e9d /tools | |
parent | b21fc65b23fcbb2b9a04eb92e3719d88e2d026dc (diff) |
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 <chris@chris-wilson.co.uk>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/virtual.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |