Dave Airlie <airl...@gmail.com> 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 <kei...@keithp.com> -- keith.pack...@intel.com
pgpRqiflHaE9O.pgp
Description: PGP signature
_______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel