diff options
Diffstat (limited to 'src/ast_2dtool.c')
-rw-r--r-- | src/ast_2dtool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ast_2dtool.c b/src/ast_2dtool.c index 7e54370..ba58a08 100644 --- a/src/ast_2dtool.c +++ b/src/ast_2dtool.c @@ -82,7 +82,7 @@ bInitCMDQInfo(ScrnInfoPtr pScrn, ASTRecPtr pAST) if (!pAST->MMIO2D) { pAST->CMDQInfo.ulCMDQType = VM_CMD_QUEUE; - pScreen = screenInfo.screens[pScrn->scrnIndex]; + pScreen = xf86ScrnToScreen(pScrn); do { pAST->pCMDQPtr = xf86AllocateOffscreenLinear (pScreen, pAST->CMDQInfo.ulCMDQSize, 8, NULL, NULL, NULL); |