If I create a new surface, via SDL_SetVideoMode, how can I copy the
contents of the previus surface to the new one?
AFAIK, the only way to undisplay a surface is via “SDL_QuitSubSystem”,
but after it, If I copy the old scren to the new one, I have a
segmentation fault (I lock the dest surface, ofcoz!)
But, If I load a BMP to the new surface, it works without problems…
So, I assume that SDL_QuitSubSystem is freeing the old surface… am I
right?
A possilbe solution is to backup the old screen surface…
Thanks!–
signed
derethor of centolos