summaryrefslogtreecommitdiff
path: root/src/nv_xaa.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nv_xaa.c')
-rw-r--r--src/nv_xaa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nv_xaa.c b/src/nv_xaa.c
index b29bf38..c179f1f 100644
--- a/src/nv_xaa.c
+++ b/src/nv_xaa.c
@@ -651,7 +651,7 @@ NVDisableClipping(ScrnInfoPtr pScrn)
Bool
NVAccelInit(ScreenPtr pScreen)
{
- ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum];
+ ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen);
NVPtr pNv = NVPTR(pScrn);
XAAInfoRecPtr accel;