Commit c3434c86 authored by Adam Jackson's avatar Adam Jackson 🥃

Allow building against a non-DGA server.

parent db33e337
......@@ -1239,6 +1239,7 @@ FBDevDGAAddModes(ScrnInfoPtr pScrn)
static Bool
FBDevDGAInit(ScrnInfoPtr pScrn, ScreenPtr pScreen)
{
#ifdef XFreeXDGA
FBDevPtr fPtr = FBDEVPTR(pScrn);
if (pScrn->depth < 8)
......@@ -1249,6 +1250,9 @@ FBDevDGAInit(ScrnInfoPtr pScrn, ScreenPtr pScreen)
return (DGAInit(pScreen, &FBDevDGAFunctions,
fPtr->pDGAMode, fPtr->nDGAMode));
#else
return TRUE;
#endif
}
static Bool
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment