[SDL] How to reverse an image

Jonathan Greig redteam316 at gmail.com
Sun Dec 2 20:45:49 PST 2007


Yes, one way to do it is like Bill explained. I've made my own flipping
function before. LazyFoo has a good example in his tutorials.
http://lazyfoo.net/SDL_tutorials/lesson31/index.php

For an easy way out, you can use the sdl_gfx library, but if all you need is
flipping, writing your own little function is probably better as you wont
have extra dependancies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20071202/46eb1eb9/attachment-0007.htm>


More information about the SDL mailing list