[PATCH 2/2] radeon: Fix DRI2BufferPtr to be DRI2Buffer2Ptr for xserver 1.6.
Michel Dänzer
michel at daenzer.net
Fri Aug 28 14:54:57 PDT 2009
On Fri, 2009-08-28 at 20:51 +0300, Pauli Nieminen wrote:
>
> 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.
Only supporting DRI2 as of xserver 1.6.2 sounds good to me.
--
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