Commit 76fd7158 authored by Alon Levy's avatar Alon Levy

xspice: don't load ramdac and vgahw sub modules

parent 00cc49ce
......@@ -1341,9 +1341,12 @@ qxl_pre_init(ScrnInfoPtr pScrn, int flags)
xf86PrintModes(pScrn);
xf86SetDpi(pScrn, 0, 0);
if (!xf86LoadSubModule(pScrn, "fb") ||
!xf86LoadSubModule(pScrn, "ramdac") ||
!xf86LoadSubModule(pScrn, "vgahw"))
if (!xf86LoadSubModule(pScrn, "fb")
#ifndef XSPICE
|| !xf86LoadSubModule(pScrn, "ramdac")
|| !xf86LoadSubModule(pScrn, "vgahw")
#endif
)
{
goto out;
}
......
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