frontend: Fix colorspace conversion routines on big-endian
authorPaul Cercueil <paul@crapouillou.net>
Sat, 21 May 2022 17:58:14 +0000 (18:58 +0100)
committernotaz <notasas@gmail.com>
Fri, 29 Jul 2022 20:48:40 +0000 (23:48 +0300)
commitae8f89db2a4746d6119aca9359bdee75ad122fa0
tree546b1ea642433e407f1042f35c860c4625c1f756
parent96c6ec7055ecef55b3dd221c86b796512bf52107
frontend: Fix colorspace conversion routines on big-endian

The bgr555_to_rgb565() and bgr888_to_rgb565() functions were only
working correctly on little-endian systems.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
frontend/cspace.c