st/xorg: handle updates to DamageUnregister API
authorEmil Velikov <emil.l.velikov@gmail.com>
Fri, 1 Nov 2013 16:44:10 +0000 (16:44 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 4 Nov 2013 19:49:26 +0000 (19:49 +0000)
commit0a2bdbb76f9fecf34c6b5fb39b60fda745440e4f
tree9e2c54efd822f689074b39f4b351721b380e7674
parent4e0ed59959ad38b9dd469d9924e6794c8d21abcf
st/xorg: handle updates to DamageUnregister API

xserver 1.14.99.2 simplified the DamageUnregister API, by
dropping the drawable argument.
Follow xf86-video-intel and xf86-video-vmware approach and
handle the new API by checking XORG_VERSION_CURRENT.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=71110
Reported-by: Michał Górny <mgorny@gentoo.org>
Reported-by: Vinson Lee <vlee@freedesktop.org>
Tested-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
src/gallium/state_trackers/xorg/xorg_driver.c