diff options
author | Dave Airlie <airlied@gmail.com> | 2012-04-10 15:47:33 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-05-21 12:59:08 +0100 |
commit | 41151f88a62f01b00c1912822b8b430df1eb307e (patch) | |
tree | 05e6e63e1d5ece45b5a37c3dc049d6d82351acb5 /hw/xfree86/xaa/xaaPCache.c | |
parent | 53932b3803fa2c02949fd7d4d0e433ea58fa89f1 (diff) |
xf86: migrate to using xf86ScreenToScrn wrapper (v2)
migrate to new helper API.
This just wraps all the obvious uses of xf86Screens[pScreen->myNum],
and should be fairly simple to review.
v2: remove commented out lines.
Reviewed-by: Aaron Plattner <aplattner@nvidia.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'hw/xfree86/xaa/xaaPCache.c')
-rw-r--r-- | hw/xfree86/xaa/xaaPCache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/xaa/xaaPCache.c b/hw/xfree86/xaa/xaaPCache.c index 02c0cd498..a168ceb78 100644 --- a/hw/xfree86/xaa/xaaPCache.c +++ b/hw/xfree86/xaa/xaaPCache.c @@ -652,7 +652,7 @@ ConvertSomePartialsTo8x8(int *NumMono, int *NumColor, int *NumPartial, void XAAInitPixmapCache(ScreenPtr pScreen, RegionPtr areas, pointer data) { - ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum]; + ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen); XAAInfoRecPtr infoRec = (XAAInfoRecPtr) data; XAAPixmapCachePrivatePtr pCachePriv; BoxPtr pBox = RegionRects(areas); |