Corrected comment

This commit is contained in:
Andrew Murray 2025-05-05 06:35:11 +10:00
parent e29c0a511a
commit 64f992e7fc
2 changed files with 2 additions and 2 deletions

View File

@ -245,7 +245,7 @@ packLA(UINT8 *out, const UINT8 *in, int pixels) {
static void
packRG(UINT8 *out, const UINT8 *in, int pixels) {
int i;
/* LA, pixel interleaved */
/* RG, pixel interleaved */
for (i = 0; i < pixels; i++) {
out[0] = in[R];
out[1] = in[G];

View File

@ -429,7 +429,7 @@ unpackLA(UINT8 *_out, const UINT8 *in, int pixels) {
static void
unpackRG(UINT8 *_out, const UINT8 *in, int pixels) {
int i;
/* LA, pixel interleaved */
/* RG, pixel interleaved */
for (i = 0; i < pixels; i++) {
_out[R] = in[0];
_out[G] = in[1];