From: Jakob Bornecrantz Date: Fri, 4 Dec 2009 09:31:51 +0000 (+0100) Subject: vmware/xorg: Use Write instead of WriteRead for cursor bypass X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1ef8c493b25cdb4bb006f9198c00acacd19e2c75;p=mesa.git vmware/xorg: Use Write instead of WriteRead for cursor bypass --- diff --git a/src/gallium/winsys/drm/vmware/xorg/vmw_ioctl.c b/src/gallium/winsys/drm/vmware/xorg/vmw_ioctl.c index 7ec651db05d..ad6993840d2 100644 --- a/src/gallium/winsys/drm/vmware/xorg/vmw_ioctl.c +++ b/src/gallium/winsys/drm/vmware/xorg/vmw_ioctl.c @@ -65,8 +65,8 @@ vmw_ioctl_cursor_bypass(struct vmw_driver *vmw, int xhot, int yhot) arg.xhot = xhot; arg.yhot = yhot; - ret = drmCommandWriteRead(vmw->fd, DRM_VMW_CURSOR_BYPASS, - &arg, sizeof(arg)); + ret = drmCommandWrite(vmw->fd, DRM_VMW_CURSOR_BYPASS, + &arg, sizeof(arg)); return ret; }