On 13/5/25 12:08, Daniel P. Berrangé wrote:
From: Daniel P. Berrangé <berra...@redhat.com>
When sending a tight rectangle with the palette filter, if the client
format was 8/16bpp, the colours on big endian hosts are not set as
we're sending the wrong bytes. We must first cast the 32-bit colour
to a 16/8-bit value, and then send the result.
Signed-off-by: Daniel P. Berrangé <berra...@redhat.com>
---
ui/vnc-enc-tight.c | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>