summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2012-06-27 11:06:17 +0300
committerAlon Levy <alevy@redhat.com>2012-06-27 14:41:30 +0300
commit3736895ae3aaa54e3ff8ac4254f8513d6908122b (patch)
treec14513cfca1ddce6340cef5dae53a9267f55c906
parent27aeda0b332cd1c96a42c789daf2fec545983b73 (diff)
uxa: fix bad argument type from removed index API change (s/SCREEN_ARG_TYPE/SCRN_ARG_TYPE/)
-rw-r--r--src/uxa/uxa-priv.h2
-rw-r--r--src/uxa/uxa.c5
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)