diff options
author | Dave Airlie <airlied@redhat.com> | 2012-07-17 14:53:30 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-07-17 14:53:30 +1000 |
commit | 4b4b8e9c047bd34c516ca8ab2b15fd1c541d05d5 (patch) | |
tree | 74fb24dfaa12b90a4ffce5ccf4dde9c982d850a1 /src/smi_xaa.c | |
parent | 1aad7b44e3e141bd8d3e589b7cd410e791050bd0 (diff) |
smi: convert to new X server screen conversion apis.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/smi_xaa.c')
-rw-r--r-- | src/smi_xaa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/smi_xaa.c b/src/smi_xaa.c index 95b5c95..a878098 100644 --- a/src/smi_xaa.c +++ b/src/smi_xaa.c @@ -70,7 +70,7 @@ SMI_XAAInit(ScreenPtr pScreen) { #ifdef HAVE_XAA_H XAAInfoRecPtr infoPtr; - ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum]; + ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen); SMIPtr pSmi = SMIPTR(pScrn); /*BoxRec AvailFBArea;*/ Bool ret; |