Merge pull request #7964 from Yay295/patch-1

This commit is contained in:
Hugo van Kemenade 2024-04-11 13:43:18 +03:00 committed by GitHub
commit 3fd5739a72
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -339,7 +339,7 @@ ImagingPackXBGR(UINT8 *out, const UINT8 *in, int pixels) {
void
ImagingPackBGRA(UINT8 *out, const UINT8 *in, int pixels) {
int i;
/* BGRX, reversed bytes with right padding */
/* BGRA, reversed bytes with right alpha */
for (i = 0; i < pixels; i++) {
out[0] = in[B];
out[1] = in[G];
@ -353,7 +353,7 @@ ImagingPackBGRA(UINT8 *out, const UINT8 *in, int pixels) {
void
ImagingPackABGR(UINT8 *out, const UINT8 *in, int pixels) {
int i;
/* XBGR, reversed bytes with left padding */
/* ABGR, reversed bytes with left alpha */
for (i = 0; i < pixels; i++) {
out[0] = in[A];
out[1] = in[B];