From 174896d3e607ce893d752449b83c4505b28dafac Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch
Date: Fri, 26 Nov 2021 22:28:24 +0100 Subject: Nullify a concern --- fastiv-io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastiv-io.c b/fastiv-io.c index 426d4c7..13dfa9d 100644 --- a/fastiv-io.c +++ b/fastiv-io.c @@ -975,7 +975,7 @@ open_xcursor(const gchar *data, gsize len, GError **error) last_nominal = image->size; } - // TODO(p): Byte-swap if on big-endian. Wuffs doesn't even build there. + // The library automatically byte swaps in _XcursorReadImage(). cairo_surface_t *source = cairo_image_surface_create_for_data( (unsigned char *) image->pixels, CAIRO_FORMAT_ARGB32, image->width, image->height, image->width * sizeof *image->pixels); -- cgit v1.2.3-70-g09d2