From e098cb558576c0b88eecf6e06a3ab1c5460c6989 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 29 Aug 2018 20:36:18 -0400 Subject: [PATCH] More TODOs --- darwin/image.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/darwin/image.m b/darwin/image.m index 49e3677c..0b10cb09 100644 --- a/darwin/image.m +++ b/darwin/image.m @@ -44,7 +44,7 @@ void uiImageAppend(uiImage *i, void *pixels, int pixelWidth, int pixelHeight, in // Apple doesn't explicitly document this, but we apparently need to use native system endian for the data :| // TODO split this into a utility routine? // TODO find proper documentation - // TODO test this on a big-endian system somehow + // TODO test this on a big-endian system somehow; I have a feeling the above comment is wrong about the diagnosis since the order we are specifying is now 0xAABBGGRR pix = (uint8_t *) pixels; data = (uint8_t *) [repCalibrated bitmapData]; realStride = [repCalibrated bytesPerRow];