umlaeute/Gem

YUV->RGBA conversion broken

Closed this issue · 2 comments

on apple (macOS/Sierra; amd64), sending converting from YUV to RGBA is broken.

it seems that both Red/Green and Blue/Alpha are swapped (the image is reported as GL_BGRA, but it obviously really is GL_ARGB

ARGB

actually it's also broken on Linux/amd64, where red and blue are swapped.

and the red/green resp blue/alpha swapping on macOS is true for both amd64 and arm64