summaryrefslogtreecommitdiff
path: root/dist/Mesa/src/mesa/drivers/dri/common/spantmp2.h
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2008-02-12 21:09:28 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2008-02-12 21:09:28 +0000
commitb597d23cbc3cc1c1361b89e621fcca7ddf9c024a (patch)
tree931175127192ecb3f18f61b71ed40d57e5612576 /dist/Mesa/src/mesa/drivers/dri/common/spantmp2.h
parent95e90dfb93882027d8e88ed60c6d24fb226511e7 (diff)
Update to Mesa 7.0.2. Tested by naddy@ (full ports build), simon@
and oga@ (with dri enabled).
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 )