summaryrefslogtreecommitdiff
path: root/src/gx_accel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gx_accel.c')
-rw-r--r--src/gx_accel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gx_accel.c b/src/gx_accel.c
index c368649..764e0db 100644
--- a/src/gx_accel.c
+++ b/src/gx_accel.c
@@ -1904,7 +1904,7 @@ amd_gx_exa_Composite(PixmapPtr pxDst, int srcX, int srcY, int maskX,
Bool
GXAccelInit(ScreenPtr pScrn)
{
- ScrnInfoPtr pScrni = xf86Screens[pScrn->myNum];
+ ScrnInfoPtr pScrni = xf86ScreenToScrn(pScrn);
GeodeRec *pGeode = GEODEPTR(pScrni);
#if XF86EXA