mirror of
https://github.com/X11Libre/xf86-video-intel.git
synced 2026-03-24 01:24:12 +00:00
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>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user