diff options
author | Dave Airlie <airlied@redhat.com> | 2012-06-06 10:41:11 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-06-06 10:41:11 +0100 |
commit | a9f3a66e355b9f19c312d399771fb1d8eb2e046d (patch) | |
tree | 1f86ca50a5ccaf835a84722458954b97b757f478 /src/atimach64cursor.c | |
parent | 84468ba28853fa57170025d9c25cb0029a386ff4 (diff) |
mach64: port to new compat API.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/atimach64cursor.c')
-rw-r--r-- | src/atimach64cursor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/atimach64cursor.c b/src/atimach64cursor.c index a3488bb..c7a8a0a 100644 --- a/src/atimach64cursor.c +++ b/src/atimach64cursor.c @@ -346,7 +346,7 @@ ATIMach64UseHWCursor CursorPtr pCursor ) { - ScrnInfoPtr pScreenInfo = xf86Screens[pScreen->myNum]; + ScrnInfoPtr pScreenInfo = xf86ScreenToScrn(pScreen); ATIPtr pATI = ATIPTR(pScreenInfo); if (!pATI->CursorBase) @@ -367,7 +367,7 @@ ATIMach64CursorInit ScreenPtr pScreen ) { - ScrnInfoPtr pScreenInfo = xf86Screens[pScreen->myNum]; + ScrnInfoPtr pScreenInfo = xf86ScreenToScrn(pScreen); ATIPtr pATI = ATIPTR(pScreenInfo); xf86CursorInfoPtr pCursorInfo; |