summaryrefslogtreecommitdiff
path: root/src/savage_xaa.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/savage_xaa.c')
-rw-r--r--src/savage_xaa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/savage_xaa.c b/src/savage_xaa.c
index 4565ffd..e4d661b 100644
--- a/src/savage_xaa.c
+++ b/src/savage_xaa.c
@@ -151,7 +151,7 @@ void SavageRestoreAccelState(ScrnInfoPtr pScrn)
Bool
SavageXAAInit(ScreenPtr pScreen)
{
- ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum];
+ ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen);
SavagePtr psav = SAVPTR(pScrn);
XAAInfoRecPtr xaaptr;
BoxRec AvailFBArea;