summaryrefslogtreecommitdiff
path: root/src/atimach64accel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/atimach64accel.c')
-rw-r--r--src/atimach64accel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/atimach64accel.c b/src/atimach64accel.c
index 276fc86..f40155d 100644
--- a/src/atimach64accel.c
+++ b/src/atimach64accel.c
@@ -976,7 +976,7 @@ ATIMach64AccelInit
ScreenPtr pScreen
)
{
- ScrnInfoPtr pScreenInfo = xf86Screens[pScreen->myNum];
+ ScrnInfoPtr pScreenInfo = xf86ScreenToScrn(pScreen);
ATIPtr pATI = ATIPTR(pScreenInfo);
XAAInfoRecPtr pXAAInfo;