diff options
author | Kevin Brace <kevinbrace@gmx.com> | 2018-11-26 11:02:30 -0800 |
---|---|---|
committer | Kevin Brace <kevinbrace@gmx.com> | 2018-11-26 11:02:30 -0800 |
commit | 4017c6e91f8938f1f1617e53e30ee1d3d10d490c (patch) | |
tree | 9af17b88e297f629722bb57d56a68e3890b7902a /src/mga_dga.c | |
parent | c5922dcc3ff26c9b1291e90ecedee35f97bc51c8 (diff) |
Convert most HAVE_XAA_H conditional compilation labels to USE_XAA
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
Diffstat (limited to 'src/mga_dga.c')
-rw-r--r-- | src/mga_dga.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mga_dga.c b/src/mga_dga.c index ef03688..66e6a09 100644 --- a/src/mga_dga.c +++ b/src/mga_dga.c @@ -15,7 +15,7 @@ static Bool MGA_OpenFramebuffer(ScrnInfoPtr, char **, unsigned char **, static Bool MGA_SetMode(ScrnInfoPtr, DGAModePtr); static int MGA_GetViewport(ScrnInfoPtr); static void MGA_SetViewport(ScrnInfoPtr, int, int, int); -#ifdef HAVE_XAA_H +#ifdef USE_XAA static void MGA_FillRect(ScrnInfoPtr, int, int, int, int, unsigned long); static void MGA_BlitRect(ScrnInfoPtr, int, int, int, int, int, int); static void MGA_BlitTransRect(ScrnInfoPtr, int, int, int, int, int, int, @@ -30,7 +30,7 @@ DGAFunctionRec MGA_DGAFuncs = { MGA_SetViewport, MGA_GetViewport, MGAStormSync, -#ifdef HAVE_XAA_H +#ifdef USE_XAA MGA_FillRect, MGA_BlitRect, MGA_BlitTransRect @@ -124,7 +124,7 @@ SECOND_PASS: mode->flags = DGA_CONCURRENT_ACCESS; if(pixmap) mode->flags |= DGA_PIXMAP_AVAILABLE; -#ifdef HAVE_XAA_H +#ifdef USE_XAA if(!pMga->NoAccel) { mode->flags |= DGA_FILL_RECT | DGA_BLIT_RECT; if((Bpp != 3) && (pMga->Chipset != PCI_CHIP_MGA2064)) @@ -365,7 +365,7 @@ MGA_SetViewport( pMga->DGAViewportStatus = 0; /* MGAAdjustFrame loops until finished */ } -#ifdef HAVE_XAA_H +#ifdef USE_XAA static void MGA_FillRect ( ScrnInfoPtr pScrn, |