diff options
Diffstat (limited to 'src/radeon_dga.c')
-rw-r--r-- | src/radeon_dga.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/radeon_dga.c b/src/radeon_dga.c index e67a9640..f084fd34 100644 --- a/src/radeon_dga.c +++ b/src/radeon_dga.c @@ -61,9 +61,9 @@ static Bool RADEON_OpenFramebuffer(ScrnInfoPtr, char **, unsigned char **, static Bool RADEON_SetMode(ScrnInfoPtr, DGAModePtr); static int RADEON_GetViewport(ScrnInfoPtr); static void RADEON_SetViewport(ScrnInfoPtr, int, int, int); +#ifdef USE_XAA static void RADEON_FillRect(ScrnInfoPtr, int, int, int, int, unsigned long); static void RADEON_BlitRect(ScrnInfoPtr, int, int, int, int, int, int); -#ifdef USE_XAA static void RADEON_BlitTransRect(ScrnInfoPtr, int, int, int, int, int, int, unsigned long); #endif @@ -363,6 +363,8 @@ static void RADEON_SetViewport(ScrnInfoPtr pScrn, int x, int y, int flags) } +#ifdef USE_XAA + static void RADEON_FillRect(ScrnInfoPtr pScrn, int x, int y, int w, int h, unsigned long color) @@ -422,7 +424,6 @@ static void RADEON_BlitRect(ScrnInfoPtr pScrn, #endif /* USE_XAA */ } -#ifdef USE_XAA static void RADEON_BlitTransRect(ScrnInfoPtr pScrn, int srcx, int srcy, int w, int h, int dstx, int dsty, unsigned long color) @@ -443,6 +444,7 @@ static void RADEON_BlitTransRect(ScrnInfoPtr pScrn, if (pScrn->bitsPerPixel == info->CurrentLayout.bitsPerPixel) RADEON_MARK_SYNC(info, pScrn); } + #endif /* USE_XAA */ static Bool RADEON_OpenFramebuffer(ScrnInfoPtr pScrn, |