[PATCH 2/2] radeon: Fix DRI2BufferPtr to be DRI2Buffer2Ptr for xserver 1.6.

Pauli Nieminen suokkos at gmail.com
Fri Aug 28 10:51:57 PDT 2009


2009/8/28 Michel Dänzer <michel at daenzer.net>

> 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.
>

I don't know. Is there simple workaround? If not we should only support
1.6.2 and above in ddx master. If we decide not to support older xserver in
master then I can look atadding configure check for xserver version.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.x.org/archives/xorg-driver-ati/attachments/20090828/024f711c/attachment.htm 


More information about the xorg-driver-ati mailing list