SDL/OpenGL and texture mapping (Eric Wing)

Hello,

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 :slight_smile: Thanx. Will it be included in SDL library or maybe it is already a
part of it?

Bye.

Hello,

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 :slight_smile: 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.

-Eric> Date: Tue, 1 Aug 2006 17:23:36 +0300

From: Sanya <aleksandr_sinicyn at fastmail.net>