summaryrefslogtreecommitdiff
path: root/src/pm2_accel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pm2_accel.c')
-rw-r--r--src/pm2_accel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pm2_accel.c b/src/pm2_accel.c
index 794a1c2..9309789 100644
--- a/src/pm2_accel.c
+++ b/src/pm2_accel.c
@@ -246,7 +246,7 @@ Bool
Permedia2AccelInit(ScreenPtr pScreen)
{
XAAInfoRecPtr infoPtr;
- ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum];
+ ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen);
GLINTPtr pGlint = GLINTPTR(pScrn);
BoxRec AvailFBArea;