summaryrefslogtreecommitdiff
path: root/src/g80_xaa.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/g80_xaa.c')
-rw-r--r--src/g80_xaa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/g80_xaa.c b/src/g80_xaa.c
index ce21899..a8ae4ae 100644
--- a/src/g80_xaa.c
+++ b/src/g80_xaa.c
@@ -486,7 +486,7 @@ G80DisableClipping(ScrnInfoPtr pScrn)
Bool
G80XAAInit(ScreenPtr pScreen)
{
- ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum];
+ ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen);
G80Ptr pNv = G80PTR(pScrn);
XAAInfoRecPtr xaa;