summaryrefslogtreecommitdiff
path: root/src/g80_xaa.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2012-06-07 15:52:16 +0100
committerDave Airlie <airlied@redhat.com>2012-06-07 15:52:16 +0100
commit713e9501b87465cf2a62c27605b6fc4a454dad95 (patch)
tree0be6ee6ba5f01ad4f16c4c798a69992b36047186 /src/g80_xaa.c
parentb3d61828837661c9b383378a7d6006752659108b (diff)
nv: port to new compat API.
Signed-off-by: Dave Airlie <airlied@redhat.com>
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;