Would I like to change the video mode (i.e, for passing from the intro
screen to the actual game…), should I just free the previous surface with
SDL_FreeSurface() (also for hardaware surfaces) and the call
SDL_SetVideoMode for the new mode?
Marco Iannaccone @Marco_Iannaccone
ICQ: 18748121 Tolkien
“I’ve… seen things you people wouldn’t believe. Attack ships on fire off
the shoulder of Orion.
I watched C-beams… glitter in the dark near the Tanhauser Gate. All
those… moments will be lost… in time…, like… tears… in… rain.”
FAQ it.comp.lang.c: http://www.programmazione.it/linguaggi/c/itcomplangc.htm
FAQ it.comp.lang.c++: http://www.programmazione.it/linguaggi/c/lang_faq.htm
Would I like to change the video mode (i.e, for passing from the intro
screen to the actual game…), should I just free the previous surface with
SDL_FreeSurface() (also for hardaware surfaces) and the call
SDL_SetVideoMode for the new mode?
Marco Iannaccone @Marco_Iannaccone
ICQ: 18748121 Tolkien
“I’ve… seen things you people wouldn’t believe. Attack ships on fire off
the shoulder of Orion.
I watched C-beams… glitter in the dark near the Tanhauser Gate. All
those… moments will be lost… in time…, like… tears… in… rain.”
FAQ it.comp.lang.c: http://www.programmazione.it/linguaggi/c/itcomplangc.htm
FAQ it.comp.lang.c++: http://www.programmazione.it/linguaggi/c/lang_faq.htm
Would I like to change the video mode (i.e, for passing from the intro
screen to the actual game…), should I just free the previous surface with
SDL_FreeSurface() (also for hardaware surfaces) and the call
SDL_SetVideoMode for the new mode?
Sure. The SDL_FreeSurface() isn’t necessary, but it shouldn’t hurt.
See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software