From 5706a3765bead75999f6d0ca0b17fed6c30ad7ef Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Wed, 27 Jun 2012 11:06:17 +0300 Subject: uxa: fix bad argument type from removed index API change (s/SCREEN_ARG_TYPE/SCRN_ARG_TYPE/) --- src/uxa/uxa-priv.h | 2 +- src/uxa/uxa.c | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/uxa/uxa-priv.h b/src/uxa/uxa-priv.h index 7a3c85e..ad83963 100644 --- a/src/uxa/uxa-priv.h +++ b/src/uxa/uxa-priv.h @@ -111,7 +111,7 @@ typedef struct { #define UXA_NUM_SOLID_CACHE 16 -typedef void (*EnableDisableFBAccessProcPtr) (SCREEN_ARG_TYPE, Bool); +typedef void (*EnableDisableFBAccessProcPtr) (SCRN_ARG_TYPE, Bool); typedef struct { uxa_driver_t *info; CreateGCProcPtr SavedCreateGC; diff --git a/src/uxa/uxa.c b/src/uxa/uxa.c index 8b165a8..5570078 100644 --- a/src/uxa/uxa.c +++ b/src/uxa/uxa.c @@ -359,9 +359,10 @@ static RegionPtr uxa_bitmap_to_region(PixmapPtr pPix) return ret; } -static void uxa_xorg_enable_disable_fb_access(SCREEN_ARG_TYPE arg, Bool enable) +static void uxa_xorg_enable_disable_fb_access(SCRN_ARG_TYPE arg, Bool enable) { - SCREEN_PTR(arg); + SCRN_INFO_PTR(arg); + ScreenPtr pScreen = pScrn->pScreen; uxa_screen_t *uxa_screen = uxa_get_screen(pScreen); if (!enable && uxa_screen->disableFbCount++ == 0) -- cgit v1.2.3