SDL_RenderCopyFlipped

I added a routine to RenderCopy an image, but flipped around one or both axes.
It’s pretty simple, and can be implemented entirely in SDL_render.c, without
going into the specific renderers. I’ve tested it on the GL renderer, and it
should work on GLES and D3D too. Not sure if non-accelerated renderers will like
it or not, though.

Submitted to Bugzilla as #1181.

They won’t. :slight_smile:

Thanks for the patch!On Sat, Apr 9, 2011 at 4:48 PM, Mason Wheeler wrote:

I added a routine to RenderCopy an image, but flipped around one or both
axes.
It’s pretty simple, and can be implemented entirely in SDL_render.c,
without
going into the specific renderers. I’ve tested it on the GL renderer, and
it
should work on GLES and D3D too. Not sure if non-accelerated renderers will
like
it or not, though.

Submitted to Bugzilla as #1181.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org