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

> -    /* if this is called during ScreenInit() we don't have pScrn->pScreen 
> yet */
> -    ScreenPtr pScreen = screenInfo.screens[pScrn->scrnIndex];
> +    ScreenPtr pScreen = xf86ScrnToScreen(pScrn);

I assume your fine new macro doesn't have a problem with pScrn->pScreen
not being set yet?

-- 
[email protected]

Attachment: pgp4mpRqnFksh.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