From 6ff612955a1a8591bf21f6aa56e7b6ebd8e2db48 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Wed, 23 May 2012 11:37:01 +0100 Subject: dummy: convert to new scrn conversion APIs. Generated from util/modular/x-driver-screen-scrn-conv.sh Signed-off-by: Dave Airlie --- src/dummy_dga.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dummy_dga.c') diff --git a/src/dummy_dga.c b/src/dummy_dga.c index 9710aef..a35f3c9 100644 --- a/src/dummy_dga.c +++ b/src/dummy_dga.c @@ -33,7 +33,7 @@ DGAFunctionRec DUMMYDGAFuncs = { Bool DUMMYDGAInit(ScreenPtr pScreen) { - ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum]; + ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen); DUMMYPtr pDUMMY = DUMMYPTR(pScrn); DGAModePtr modes = NULL, newmodes = NULL, currentMode; DisplayModePtr pMode, firstMode; -- cgit v1.2.3