diff options
Diffstat (limited to 'driver/xf86-video-savage/src/savage_accel.c')
-rw-r--r-- | driver/xf86-video-savage/src/savage_accel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/xf86-video-savage/src/savage_accel.c b/driver/xf86-video-savage/src/savage_accel.c index 0920e22f9..1bcb5fa4e 100644 --- a/driver/xf86-video-savage/src/savage_accel.c +++ b/driver/xf86-video-savage/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 |