changing endianness getter

This commit is contained in:
2024-12-17 00:42:21 +01:00
parent f64ce376d6
commit 6604cd647d
2 changed files with 53 additions and 6 deletions

View File

@@ -6,7 +6,7 @@
/* By: maldavid <contact@kbz8.me> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/10/04 16:56:35 by maldavid #+# #+# */
/* Updated: 2024/12/17 00:15:34 by maldavid ### ########.fr */
/* Updated: 2024/12/17 00:27:35 by maldavid ### ########.fr */
/* */
/* ************************************************************************** */
@@ -48,7 +48,7 @@ typedef union mlx_color
{
struct
{
#if MLX_ENDIAN_ORDER == MLX_LITTLE_ENDIAN
#if MLX_BYTEORDER == MLX_LITTLE_ENDIAN
uint8_t a;
uint8_t b;
uint8_t g;