On Mon, 14 May 2012 13:00:23 +0100, Dave Airlie <[email protected]> wrote:

> -
> -    /* This can get called before the ScrnInfoRec is installed so we
> -       can't rely on getting it with XF86SCRNINFO() */
>      int scrnIndex = pmap->pScreen->myNum;
>      ScrnInfoPtr scrninfp = xf86ScreenToScrn(pmap->pScreen);
>      vgaHWPtr hwp = VGAHWPTR(scrninfp);

Your new macro can handle the case where the private hasn't been set yet?

-- 
[email protected]

Attachment: pgpWJO9w5mUPJ.pgp
Description: PGP signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to