I'd like to use the function
int SDL_SetRenderTarget(SDL_Renderer *renderer, SDL_Texture *texture)
in my 2D game. At this point I am using only the SDL 2.0 API, and using openGL seems overkill to me. Rendering to an intermediate texture would greatly simplify the programming of a camera system and split-screen support. However, the (sparse) SDL wiki documentation states:
Before using this function, you should check the SDL_RENDERER_TARGETTEXTURE bit in the flags of SDL_RendererInfo to see if render targets are supported.
This raises the question wether or not can I rely on the availability of this function. I was unable to find any information on the subject on the web.