diff options
author | Dave Airlie <airlied@redhat.com> | 2012-06-06 12:00:14 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-06-06 12:00:14 +0100 |
commit | 1af03ed39b6692231544e5c7b8325fa8d70c728d (patch) | |
tree | 3abf9399a50a62fdc5f851bd50bde21712ce855d /src/ast_accel.c | |
parent | f981caeb7ebf53fea9d8f852edea6605d44d975e (diff) |
ast: port to new compat API.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/ast_accel.c')
-rw-r--r-- | src/ast_accel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ast_accel.c b/src/ast_accel.c index 2d3dab3..f85692b 100644 --- a/src/ast_accel.c +++ b/src/ast_accel.c @@ -162,7 +162,7 @@ Bool ASTAccelInit(ScreenPtr pScreen) { XAAInfoRecPtr infoPtr; - ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum]; + ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen); ASTRecPtr pAST = ASTPTR(pScrn); pAST->AccelInfoPtr = infoPtr = XAACreateInfoRec(); |