diff options
author | Richard Sandiford <[email protected]> | 2014-03-19 17:11:02 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2014-04-28 13:16:27 +0100 |
commit | 6c8f547f66e68b495c708f8ffcb67370caa5ffe8 (patch) | |
tree | 7d274542f42ef319eec4750cc1e4cafc0a5ce9d4 /src/egl/main/eglsurface.h | |
parent | 6944796cbe880311e920745d5aa0a793cf76e30a (diff) |
util: Fix cross-compiles between endiannesses
The old python code used sys.is_big_endian to select between little-endian
and big-endian formats, which meant that the build and host endiannesses
needed to be the same. This patch instead generates both big- and little-
endian layouts, using PIPE_ARCH_BIG_ENDIAN to select between them.
Signed-off-by: Richard Sandiford <[email protected]>
Signed-off-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/egl/main/eglsurface.h')
0 files changed, 0 insertions, 0 deletions