Dave Airlie <[email protected]> writes: > migrate to new helper API.
> SCREEN_PROLOG(GetImage);
> -// if (xf86Screens[pScreen->myNum]->vtSema) {
> +// if (xf86ScreenToScrn(pScreen)->vtSema) {
> VGAGet(pScreen);
> // }
Maybe just remove the commented out lines?
> - xf86Screens[pmap->pScreen->myNum]->vtSema || pScreenPriv->isDGAmode))
> + xf86ScreenToScrn(pmap->pScreen)->vtSema || pScreenPriv->isDGAmode))
(I note that a bunch of these are just checking for vtSema; might be
nice to have a helper function for that?)
Reviewed-by: Keith Packard <[email protected]>
--
[email protected]
pgpRqiflHaE9O.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
