[Super-tux-commit] supertux/src setup.cpp,1.76,1.77
Brought to you by:
wkendrick
From: Ricardo C. <rm...@us...> - 2004-05-09 21:44:18
|
Update of /cvsroot/super-tux/supertux/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15185/src Modified Files: setup.cpp Log Message: Removed the screen free. It was already been freed before, this could be the cause of Win32 crashes related by Ryan... Index: setup.cpp =================================================================== RCS file: /cvsroot/super-tux/supertux/src/setup.cpp,v retrieving revision 1.76 retrieving revision 1.77 diff -u -d -r1.76 -r1.77 --- setup.cpp 9 May 2004 19:56:11 -0000 1.76 +++ setup.cpp 9 May 2004 21:44:07 -0000 1.77 @@ -668,8 +668,6 @@ void st_video_setup_sdl(void) { - SDL_FreeSurface(screen); - if (use_fullscreen) { screen = SDL_SetVideoMode(SCREEN_W, SCREEN_H, 0, SDL_FULLSCREEN ) ; /* | SDL_HWSURFACE); */ |