diff options
Diffstat (limited to 'src/riva_xaa.c')
-rw-r--r-- | src/riva_xaa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/riva_xaa.c b/src/riva_xaa.c index 0b361b4..ac0a830 100644 --- a/src/riva_xaa.c +++ b/src/riva_xaa.c @@ -457,7 +457,7 @@ Bool RivaAccelInit(ScreenPtr pScreen) { XAAInfoRecPtr infoPtr; - ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum]; + ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen); RivaPtr pRiva = RivaPTR(pScrn); pRiva->AccelInfoRec = infoPtr = XAACreateInfoRec(); |