diff options
Diffstat (limited to 'xc/programs/Xserver/hw/xfree86/xaa/xaaInitAccel.c')
-rw-r--r-- | xc/programs/Xserver/hw/xfree86/xaa/xaaInitAccel.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/xc/programs/Xserver/hw/xfree86/xaa/xaaInitAccel.c b/xc/programs/Xserver/hw/xfree86/xaa/xaaInitAccel.c index b9a6a1b30..8a4dd921e 100644 --- a/xc/programs/Xserver/hw/xfree86/xaa/xaaInitAccel.c +++ b/xc/programs/Xserver/hw/xfree86/xaa/xaaInitAccel.c @@ -1,4 +1,4 @@ -/* $XFree86: xc/programs/Xserver/hw/xfree86/xaa/xaaInitAccel.c,v 1.32 2001/06/03 19:47:59 mvojkovi Exp $ */ +/* $XFree86: xc/programs/Xserver/hw/xfree86/xaa/xaaInitAccel.c,v 1.35 2002/10/21 15:29:47 dawes Exp $ */ #include "misc.h" #include "xf86.h" @@ -13,7 +13,9 @@ #include "xf86fbman.h" #include "servermd.h" +#ifdef XFree86LOADER static const OptionInfoRec *XAAAvailableOptions(void *unused); +#endif /* * XAA Config options @@ -133,7 +135,6 @@ xaaSetup(pointer Module, pointer Options, int *ErrorMajor, int *ErrorMinor) return (pointer)TRUE; } -#endif /*ARGSUSED*/ static const OptionInfoRec * @@ -141,6 +142,7 @@ XAAAvailableOptions(void *unused) { return (XAAOptions); } +#endif Bool XAAInitAccel(ScreenPtr pScreen, XAAInfoRecPtr infoRec) @@ -886,7 +888,8 @@ XAAInitAccel(ScreenPtr pScreen, XAAInfoRecPtr infoRec) } infoRec->WriteBitmapFlags = infoRec->ScanlineCPUToScreenColorExpandFillFlags; - } + } else + infoRec->WriteBitmap = NULL; /**** TE Glyphs ****/ @@ -993,7 +996,8 @@ XAAInitAccel(ScreenPtr pScreen, XAAInfoRecPtr infoRec) } else if(HaveScanlineImageWriteRect) { infoRec->WritePixmap = XAAWritePixmapScanline; infoRec->WritePixmapFlags = infoRec->ScanlineImageWriteFlags; - } + } else + infoRec->WritePixmap = NULL; /**** ReadPixmap ****/ |