Hello,
I would like to draw on a YUV (SDL_PIXELFORMAT_YV12) SDL_Texture. When I set the renderer’s target
to this texture (SDL_SetRenderTarget), I get the following error message:
“glFramebufferTexture2DEXT() failed”
Is it not possible to draw directly onto a YUV texture? I would like to use the various
line/rectangle drawing methods as well as SDL2_gfx. I figure I could create a transparent RGBA
texture or covert the YUV to RGB, however, I am wonder if there is a way to draw directly onto a YUV
texture.
Many Thanks.
Cheers,
Alvin