st/xorg: If dri2 version is 2 support version 1 as well
authorJakob Bornecrantz <jakob@vmware.com>
Fri, 15 Jan 2010 01:29:13 +0000 (01:29 +0000)
committerJakob Bornecrantz <jakob@vm-x-u910-32.(none)>
Fri, 15 Jan 2010 01:38:04 +0000 (01:38 +0000)
commitccc888c39ee8a7c460dca5b1b659d28dbbc4c689
tree81528874580078e3103c4ae4617460b3d173c546
parent3e1241d4f872cca96616edcbdcaea5b59d37e78f
st/xorg: If dri2 version is 2 support version 1 as well

Thanks to X server commit 2e2c5b216cc1c7a9bc26bd2c68226aaed5fc52ca
it is possible to be ABI compatible in version 2 with version 1 of
the DRI2 interface.
src/gallium/state_trackers/xorg/xorg_dri2.c