mirror of
https://github.com/openbsd/xenocara.git
synced 2025-12-11 03:39:26 +00:00
Unbreak the sunffb driver. No acceleration for now, since XAA was
removed from X server 1.14.
This commit is contained in:
@@ -413,9 +413,12 @@ FFBPreInit(ScrnInfoPtr pScrn, int flags)
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (xf86LoadSubModule(pScrn, "xaa") == NULL) {
|
if (!pFfb->NoAccel) {
|
||||||
FFBFreeRec(pScrn);
|
if (xf86LoadSubModule(pScrn, "xaa") == NULL) {
|
||||||
return FALSE;
|
xf86DrvMsg(pScrn->scrnIndex, X_INFO,
|
||||||
|
"Loading XAA failed, acceleration disabled\n");
|
||||||
|
pFfb->NoAccel = TRUE;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pFfb->HWCursor && xf86LoadSubModule(pScrn, "ramdac") == NULL) {
|
if (pFfb->HWCursor && xf86LoadSubModule(pScrn, "ramdac") == NULL) {
|
||||||
|
|||||||
Reference in New Issue
Block a user