diff options
author | Michel Dänzer <michel@tungstengraphics.com> | 2007-09-27 17:50:15 +0200 |
---|---|---|
committer | Michel Dänzer <michel@tungstengraphics.com> | 2007-09-27 17:50:15 +0200 |
commit | 4d9f944e40c6b9ac7e80428dff49c6e83fda1d8f (patch) | |
tree | bdf7b7c906a9f294bd5b41f2da544850e3bb0bc2 /src/radeon_exa_funcs.c | |
parent | 5902e913010a2fb0c17efe01f9aade73f9646f16 (diff) |
radeon: Fix build on little endian platforms.
This was accidentally broken when moving away from using pixmap data pointers
directly.
Diffstat (limited to 'src/radeon_exa_funcs.c')
-rw-r--r-- | src/radeon_exa_funcs.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/radeon_exa_funcs.c b/src/radeon_exa_funcs.c index 8e14cd9f..2b7f0e8f 100644 --- a/src/radeon_exa_funcs.c +++ b/src/radeon_exa_funcs.c @@ -241,9 +241,7 @@ static Bool FUNC_NAME(RADEONUploadToScreen)(PixmapPtr pDst, int x, int y, int w, int h, char *src, int src_pitch) { -#if X_BYTE_ORDER == X_BIG_ENDIAN || defined(ACCEL_CP) RINFO_FROM_SCREEN(pDst->drawable.pScreen); -#endif CARD8 *dst = info->FB + exaGetPixmapOffset(pDst); unsigned int dst_pitch = exaGetPixmapPitch(pDst); unsigned int bpp = pDst->drawable.bitsPerPixel; @@ -353,9 +351,7 @@ static Bool FUNC_NAME(RADEONDownloadFromScreen)(PixmapPtr pSrc, int x, int y, int w, int h, char *dst, int dst_pitch) { -#if defined(ACCEL_CP) || X_BYTE_ORDER == X_BIG_ENDIAN RINFO_FROM_SCREEN(pSrc->drawable.pScreen); -#endif #if X_BYTE_ORDER == X_BIG_ENDIAN unsigned char *RADEONMMIO = info->MMIO; unsigned int swapper = info->ModeReg.surface_cntl & |