projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
util/u_endian: set PIPE_ARCH_*_ENDIAN to 1
[mesa.git]
/
src
/
gallium
/
auxiliary
/
vl
/
vl_vlc.h
diff --git
a/src/gallium/auxiliary/vl/vl_vlc.h
b/src/gallium/auxiliary/vl/vl_vlc.h
index dd7b0918ae2f497f6fa921db6d39e3642b6cf658..f5ea6f8fcc220aef07df57ff537ae97638c6e9e3 100644
(file)
--- a/
src/gallium/auxiliary/vl/vl_vlc.h
+++ b/
src/gallium/auxiliary/vl/vl_vlc.h
@@
-151,7
+151,7
@@
vl_vlc_fillbits(struct vl_vlc *vlc)
/* enough bytes in buffer, read in a whole dword */
uint64_t value = *(const uint32_t*)vlc->data;
-#if
ndef
PIPE_ARCH_BIG_ENDIAN
+#if
!
PIPE_ARCH_BIG_ENDIAN
value = util_bswap32(value);
#endif