[PATCH 2/2] radeon: Fix DRI2BufferPtr to be DRI2Buffer2Ptr for xserver 1.6.
Michel Dänzer
michel at daenzer.net
Fri Aug 28 07:44:06 PDT 2009
On Fri, 2009-08-28 at 17:06 +0300, Pauli Nieminen wrote:
> ---
> src/radeon_dri2.c | 22 ++++++++++++++--------
> 1 files changed, 14 insertions(+), 8 deletions(-)
>
> diff --git a/src/radeon_dri2.c b/src/radeon_dri2.c
> index 613fde8..051cc78 100644
> --- a/src/radeon_dri2.c
> +++ b/src/radeon_dri2.c
> @@ -46,6 +46,12 @@
> #define USE_DRI2_1_1_0
> #endif
>
> +#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,6,99,0, 0)
> +typedef DRI2BufferPtr BufferPtr;
> +#else
> +typedef DRI2Buffer2Ptr BufferPtr;
> +#endif
Will this work with xserver 1.6.1 and older? Not sure it matters, just
so we're clear.
--
Earthling Michel Dänzer | http://www.vmware.com
Libre software enthusiast | Debian, X and DRI developer
More information about the xorg-driver-ati
mailing list