diff options
Diffstat (limited to 'src/radeon_accel.c')
-rw-r--r-- | src/radeon_accel.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/radeon_accel.c b/src/radeon_accel.c index 9068b7d6..19f7bf1b 100644 --- a/src/radeon_accel.c +++ b/src/radeon_accel.c @@ -785,7 +785,9 @@ RADEONHostDataBlitCopyPass( unsigned int srcPitch ){ +#if X_BYTE_ORDER == X_BIG_ENDIAN RADEONInfoPtr info = RADEONPTR( pScrn ); +#endif /* RADEONHostDataBlitCopy can return NULL ! */ if( (dst==NULL) || (src==NULL)) return; @@ -828,7 +830,9 @@ RADEONHostDataBlitCopyPass( } #endif memcpy( dst, src, minPitch ); +#if X_BYTE_ORDER == X_BIG_ENDIAN next: +#endif src += srcPitch; dst += dstPitch; } |