[Super-tux-commit] supertux/src setup.cpp,1.77,1.78
Brought to you by:
wkendrick
From: Matze B. <mat...@us...> - 2004-05-10 15:02:36
|
Update of /cvsroot/super-tux/supertux/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10746 Modified Files: setup.cpp Log Message: never free the screen surface, SDL doesn't allow that Index: setup.cpp =================================================================== RCS file: /cvsroot/super-tux/supertux/src/setup.cpp,v retrieving revision 1.77 retrieving revision 1.78 diff -u -d -r1.77 -r1.78 --- setup.cpp 9 May 2004 21:44:07 -0000 1.77 +++ setup.cpp 10 May 2004 15:02:26 -0000 1.78 @@ -640,11 +640,7 @@ void st_video_setup(void) { - if(screen != NULL) - SDL_FreeSurface(screen); - /* Init SDL Video: */ - if (SDL_Init(SDL_INIT_VIDEO) < 0) { fprintf(stderr, |