summaryrefslogtreecommitdiff
path: root/dist/Mesa/src/mesa/drivers/dri/common/spantmp2.h
diff options
context:
space:
mode:
Diffstat (limited to 'dist/Mesa/src/mesa/drivers/dri/common/spantmp2.h')
-rw-r--r--dist/Mesa/src/mesa/drivers/dri/common/spantmp2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/Mesa/src/mesa/drivers/dri/common/spantmp2.h b/dist/Mesa/src/mesa/drivers/dri/common/spantmp2.h
index 50f3cf558..53f5f846a 100644
--- a/dist/Mesa/src/mesa/drivers/dri/common/spantmp2.h
+++ b/dist/Mesa/src/mesa/drivers/dri/common/spantmp2.h
@@ -114,7 +114,7 @@
do { \
GLuint p = *(volatile GLuint *) GET_PTR(_x, _y); \
__asm__ __volatile__( "bswap %0; rorl $8, %0" \
- : "=r" (p) : "r" (p) ); \
+ : "=r" (p) : "0" (p) ); \
((GLuint *)rgba)[0] = p; \
} while (0)
# elif defined( MESA_BIG_ENDIAN )