SDL icon indicating copy to clipboard operation
SDL copied to clipboard

SDL3: camera-read-and-draw example broken output

Open ichordev opened this issue 1 year ago • 0 comments

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: image

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: Untitled Reminder: this is a white object.

Could possibly be caused by #9504?

ichordev avatar Oct 29 '24 19:10 ichordev