summaryrefslogtreecommitdiff
path: root/uxa
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2012-05-16 15:26:55 +0100
committerDave Airlie <airlied@redhat.com>2012-05-23 11:02:20 +0100
commit43a34186d13d29c671431832469ca5301751b3cf (patch)
tree8ff14d5420c3ce91bc0322a4c21ab9d03fa95f3c /uxa
parent9aabc04d76fa976abb4a74f4e9676c7556e88df3 (diff)
intel: convert to new screen conversion APIs
The compat header takes care of the old server vs new server. this commit was autogenerated from util/modular/x-driver-screen-scrn-conv.sh Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'uxa')
-rw-r--r--uxa/uxa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uxa/uxa.c b/uxa/uxa.c
index b4a1da61..0ba68691 100644
--- a/uxa/uxa.c
+++ b/uxa/uxa.c
@@ -366,7 +366,7 @@ void uxa_set_force_fallback(ScreenPtr screen, Bool value)
static Bool uxa_close_screen(int i, ScreenPtr pScreen)
{
uxa_screen_t *uxa_screen = uxa_get_screen(pScreen);
- ScrnInfoPtr scrn = xf86Screens[pScreen->myNum];
+ ScrnInfoPtr scrn = xf86ScreenToScrn(pScreen);
#ifdef RENDER
PictureScreenPtr ps = GetPictureScreenIfSet(pScreen);
#endif