SDL
SDL copied to clipboard
SDL3: camera-read-and-draw example broken output
Having this problem on macOS 14.5 (M1), using both SDL 3.1.3 and this commit from just now.
Here's a screen-grab of a while envelope:
It seems to be caused by SDL_AcquireCameraFrame returns because I really couldn't find any workaround. I tried manually passing various pixel formats to SDL_CreateTexture, but the only pixel format that didn't produce funny colour-interlacing (like in the screenshot above), or multiple side-by-side technicolour/greyscale images, was SDL_PIXELFORMAT_RGB332. Instead, it produces one technicolour image:
Reminder: this is a white object.
Could possibly be caused by #9504?