[PATCH] dri2: Register the DRI2DrawableType after server regeneration

Chris Wilson chris at chris-wilson.co.uk
Thu Aug 25 07:44:18 PDT 2011


On Thu, 25 Aug 2011 17:26:20 +0300, Pauli Nieminen <suokkos at gmail.com> wrote:
> On Thu, Aug 25, 2011 at 2:50 PM, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> > @@ -1227,8 +1236,6 @@ DRI2Setup(pointer module, pointer opts, int *errmaj, int *errmin)
> >  {
> >     static Bool setupDone = FALSE;
> >
> > -    dri2DrawableRes = CreateNewResourceType(DRI2DrawableGone, "DRI2Drawable");
> > -
> 
> Extension init function could register the resource type.
> InitExtensions calls the extension init function for each server
> generation.



More information about the xorg-devel mailing list