diff options
author | Dave Airlie <airlied@redhat.com> | 2012-06-06 09:23:31 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-06-06 09:24:12 +0100 |
commit | 7b6dcc4d5768cc8d17a1f664155ebdc8ca8c042e (patch) | |
tree | 574af706343180d0cf5cea108d44cf4948b2e533 /src/mga_hwcurs.c | |
parent | 0cb8ba6dc5e7bf4179174f9f17e211df7d89bd41 (diff) |
mga: port to new compat API.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/mga_hwcurs.c')
-rw-r--r-- | src/mga_hwcurs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mga_hwcurs.c b/src/mga_hwcurs.c index 937f979..5e43f21 100644 --- a/src/mga_hwcurs.c +++ b/src/mga_hwcurs.c @@ -13,7 +13,7 @@ Bool MGAHWCursorInit(ScreenPtr pScreen) { - ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum]; + ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen); MGAPtr pMga = MGAPTR(pScrn); MGARamdacPtr MGAdac = &pMga->Dac; xf86CursorInfoPtr infoPtr; |