summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-11-05 14:13:49 -0500
committerAlex Deucher <alexdeucher@gmail.com>2009-11-05 14:13:49 -0500
commitda1fcddaade58e371c7bee555ce32944c689f810 (patch)
tree91c495c62185ab1a14157c4d2d9db80f38489cbe
parent6e496f46fdc90d0a6cef41e9d45a6458aaed1eca (diff)
radeon: properly fix unused label warnings
-rw-r--r--src/radeon_exa_funcs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/radeon_exa_funcs.c b/src/radeon_exa_funcs.c
index d5a3103b..61c7427d 100644
--- a/src/radeon_exa_funcs.c
+++ b/src/radeon_exa_funcs.c
@@ -512,7 +512,9 @@ RADEONUploadToScreenCS(PixmapPtr pDst, int x, int y, int w, int h,
goto out;
}
+#if X_BYTE_ORDER == X_BIG_ENDIAN
copy:
+#endif
r = radeon_bo_map(scratch, 0);
if (r) {
r = FALSE;
@@ -628,7 +630,9 @@ RADEONDownloadFromScreenCS(PixmapPtr pSrc, int x, int y, int w,
RADEON_GEM_DOMAIN_GTT);
FLUSH_RING();
+#if X_BYTE_ORDER == X_BIG_ENDIAN
copy:
+#endif
r = radeon_bo_map(scratch, 0);
if (r) {
r = FALSE;