Possible solution for gamma fade problem

How about if SDL_FadeOut() returns a surface description that can
be used until the next SDL_FadeIn() (which would return the video
surface)

This way, whenever possible, native gamma or clut fading can be
implemented, but on those occasions when the only fade is a copy
the surface and tone down type fade, it will still be transparent
to tha game.

Is this acceptable? Suggestions? Comments?

See ya!
-Sam Lantinga (slouken at devolution.com)–
Author of Simple DirectMedia Layer -
http://www.devolution.com/~slouken/SDL/

How about if SDL_FadeOut() returns a surface description that can
be used until the next SDL_FadeIn() (which would return the video
surface)

This way, whenever possible, native gamma or clut fading can be
implemented, but on those occasions when the only fade is a copy
the surface and tone down type fade, it will still be transparent
to tha game.

Is this acceptable? Suggestions? Comments?

Sounds Good!

njhOn Wed, 15 Apr 1998, Sam Lantinga wrote: