diff options
| author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-07-05 13:04:26 +0200 |
|---|---|---|
| committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-10-02 08:06:21 +0000 |
| commit | 6f16b7a8f33c9641850809562b627f9da12fa9ad (patch) | |
| tree | 807dfa54222ce4b72e639f01285b494121211a93 /src/network/kernel/qnetworkinterface_unix.cpp | |
| parent | b6f69206548f7bd15c72ba35d7c2e3b66b1abb7a (diff) | |
Handle endian mismatch between X11 client and server
If the server and client has different endian we need to swizzle the
image pixels, we can do that by swizzling the masks and try to match
the new configuration. This is a rather rare setup so we don't try
to match every combination.
This patch fixes the colors when running Qt in a bigendian QEMU chroot.
Change-Id: Ie83f9607563cba137b2e1a63e996a05d43ff603e
Reviewed-by: Gatis Paeglis <gatis.paeglis@qt.io>
Diffstat (limited to 'src/network/kernel/qnetworkinterface_unix.cpp')
0 files changed, 0 insertions, 0 deletions
