I have found the function "int SDL_InvertSurface(SDL_Surface* image)β
described here
"http://www.libsdl.org/pipermail/sdl/2002-September/049103.htmlβ to be very
useful Thanx. Will it be included in SDL library or maybe it is already a
part of it?
I have found the function "int SDL_InvertSurface(SDL_Surface* image)β
described here
"http://www.libsdl.org/pipermail/sdl/2002-September/049103.htmlβ to be very
useful Thanx. Will it be included in SDL library or maybe it is already a
part of it?
Bye.
As far as I know, itβs not part of SDL which is why the question keeps
coming up and why I wrote the thing in the first place. I have no say
in the SDL API, but I think something like this would be nice to see
in the official API (maybe 1.3 if OpenGL coordinate space is still
inverted from SDL coordinate space). What also might be nice is to see
an option in the image loaders that allow you to load inverted
directly so it can potentially be optimized to avoid all the memory
copies.