fix spantmp2 READ_RGBA inline asm (#11931)

This commit is contained in:
Dan Torop 2007-08-12 13:41:13 +02:00 committed by Brian
parent 960d41fcfe
commit 72adb70ee2

View file

@ -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 )