From: Ricardo Cruz Date: Sun, 9 May 2004 21:44:07 +0000 (+0000) Subject: Removed the screen free. It was already been freed before, this could be the cause... X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=6e415631032b9345302b160b93e0c1356858138e;p=supertux.git Removed the screen free. It was already been freed before, this could be the cause of Win32 crashes related by Ryan... SVN-Revision: 1060 --- diff --git a/src/setup.cpp b/src/setup.cpp index 0250ac151..d6318e71e 100644 --- a/src/setup.cpp +++ b/src/setup.cpp @@ -668,8 +668,6 @@ void st_video_setup(void) void st_video_setup_sdl(void) { - SDL_FreeSurface(screen); - if (use_fullscreen) { screen = SDL_SetVideoMode(SCREEN_W, SCREEN_H, 0, SDL_FULLSCREEN ) ; /* | SDL_HWSURFACE); */