diff options
author | Dave Airlie <airlied@redhat.com> | 2012-06-06 11:22:29 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-06-06 11:22:29 +0100 |
commit | a2714fb09e1e0badbb3e98e24d4b1ed92003bdb9 (patch) | |
tree | 80a4688783ad46e33fc90e8c014f6a32f41e8c42 /src/savage_accel.c | |
parent | de22eab9a21df80fe965dc37d21ba3ac2b9f5fd0 (diff) |
savage: port to new compat API
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/savage_accel.c')
-rw-r--r-- | src/savage_accel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/savage_accel.c b/src/savage_accel.c index 0920e22..1bcb5fa 100644 --- a/src/savage_accel.c +++ b/src/savage_accel.c @@ -1274,7 +1274,7 @@ void SavageRestoreAccelState(ScrnInfoPtr pScrn) Bool SavageInitAccel(ScreenPtr pScreen) { - ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum]; + ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen); SavagePtr psav = SAVPTR(pScrn); #ifdef SAVAGEDRI |