diff options
author | Dave Airlie <airlied@redhat.com> | 2012-05-23 11:37:01 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-05-23 11:37:01 +0100 |
commit | 6ff612955a1a8591bf21f6aa56e7b6ebd8e2db48 (patch) | |
tree | 5a04e9af78e2499c6af1b6277e54b8343122567d /src/dummy_driver.c | |
parent | 20fcd59d3f8d7393586d8b64bfac18adede726ca (diff) |
dummy: convert to new scrn conversion APIs.
Generated from util/modular/x-driver-screen-scrn-conv.sh
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/dummy_driver.c')
-rw-r--r-- | src/dummy_driver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dummy_driver.c b/src/dummy_driver.c index 791855f..f5d1f4c 100644 --- a/src/dummy_driver.c +++ b/src/dummy_driver.c @@ -532,7 +532,7 @@ DUMMYScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv) * we need to get the ScrnInfoRec for this screen, so let's allocate * one first thing */ - pScrn = xf86Screens[pScreen->myNum]; + pScrn = xf86ScreenToScrn(pScreen); dPtr = DUMMYPTR(pScrn); DUMMYScrn = pScrn; @@ -734,7 +734,7 @@ DUMMYSaveScreen(ScreenPtr pScreen, int mode) DUMMYPtr dPtr; if (pScreen != NULL) { - pScrn = xf86Screens[pScreen->myNum]; + pScrn = xf86ScreenToScrn(pScreen); dPtr = DUMMYPTR(pScrn); dPtr->screenSaver = xf86IsUnblank(mode); |