summaryrefslogtreecommitdiff
path: root/driver/xf86-video-savage/src/savage_accel.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2012-09-08 20:51:58 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2012-09-08 20:51:58 +0000
commit4f0dd271841b68a05edab4d7bcfeeb6f4eb8e208 (patch)
tree58a8cd73815b43282afcc158681589ddd7a14399 /driver/xf86-video-savage/src/savage_accel.c
parenteecea31b6dc87300fd264bcd7665f2610f848d59 (diff)
update to xf86-video-savage 2.3.6
Diffstat (limited to 'driver/xf86-video-savage/src/savage_accel.c')
-rw-r--r--driver/xf86-video-savage/src/savage_accel.c2
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