diff options
author | Dave Airlie <airlied@linux.ie> | 2006-06-15 20:34:56 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-06-15 20:34:56 +1000 |
commit | f46c3bebe821ee0031770d98d04bd406d1abb9ed (patch) | |
tree | 73ae0aefe077341ce9171e5e27a403d9eb79e402 /src/radeon_accel.c | |
parent | 6c3f81683abab8ff6b8f2fcaf01a2a1a63af5ef6 (diff) |
fix some more unused variables and bad parameter passing
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; } |