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_dacG.c | |
parent | 0cb8ba6dc5e7bf4179174f9f17e211df7d89bd41 (diff) |
mga: port to new compat API.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/mga_dacG.c')
-rw-r--r-- | src/mga_dacG.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mga_dacG.c b/src/mga_dacG.c index ea598be..9a80193 100644 --- a/src/mga_dacG.c +++ b/src/mga_dacG.c @@ -1794,7 +1794,7 @@ MGAGSetCursorColorsG100(ScrnInfoPtr pScrn, int bg, int fg) static Bool MGAGUseHWCursor(ScreenPtr pScrn, CursorPtr pCurs) { - MGAPtr pMga = MGAPTR(xf86Screens[pScrn->myNum]); + MGAPtr pMga = MGAPTR(xf86ScreenToScrn(pScrn)); /* This needs to detect if its on the second dac */ if( XF86SCRNINFO(pScrn)->currentMode->Flags & V_DBLSCAN ) return FALSE; |