From 713e9501b87465cf2a62c27605b6fc4a454dad95 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Thu, 7 Jun 2012 15:52:16 +0100 Subject: nv: port to new compat API. Signed-off-by: Dave Airlie --- src/g80_xaa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/g80_xaa.c') 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; -- cgit v1.2.3