diff options
author | Dave Airlie <airlied@redhat.com> | 2012-06-07 15:52:16 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-06-07 15:52:16 +0100 |
commit | 713e9501b87465cf2a62c27605b6fc4a454dad95 (patch) | |
tree | 0be6ee6ba5f01ad4f16c4c798a69992b36047186 /src/riva_cursor.c | |
parent | b3d61828837661c9b383378a7d6006752659108b (diff) |
nv: port to new compat API.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/riva_cursor.c')
-rw-r--r-- | src/riva_cursor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/riva_cursor.c b/src/riva_cursor.c index a9c614e..f8dcae1 100644 --- a/src/riva_cursor.c +++ b/src/riva_cursor.c @@ -144,7 +144,7 @@ RivaUseHWCursor(ScreenPtr pScreen, CursorPtr pCurs) Bool RivaCursorInit(ScreenPtr pScreen) { - ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum]; + ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen); RivaPtr pRiva = RivaPTR(pScrn); xf86CursorInfoPtr infoPtr; |