summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/radeon_exa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_exa.c b/src/radeon_exa.c
index fcafb680..cf368d5b 100644
--- a/src/radeon_exa.c
+++ b/src/radeon_exa.c
@@ -172,7 +172,7 @@ Bool RADEONPrepareAccess_CS(PixmapPtr pPix, int index)
#if X_BYTE_ORDER == X_BIG_ENDIAN
/* May need to handle byte swapping in DownloadFrom/UploadToScreen */
- if (can_fail && pPix->drawable.bitsPerPixel > 8)
+ if (pPix->drawable.bitsPerPixel > 8)
return FALSE;
#endif