From: Matthias Braun Date: Mon, 10 May 2004 15:02:26 +0000 (+0000) Subject: never free the screen surface, SDL doesn't allow that X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=b8695528c799497c27146eb320cff0af9a1c6b24;hp=ff73c4db1cb79dec5706863a59490a123f240f2c;p=supertux.git never free the screen surface, SDL doesn't allow that SVN-Revision: 1075 --- diff --git a/src/setup.cpp b/src/setup.cpp index d6318e71e..4a9eaccec 100644 --- a/src/setup.cpp +++ b/src/setup.cpp @@ -640,11 +640,7 @@ void st_general_free(void) void st_video_setup(void) { - if(screen != NULL) - SDL_FreeSurface(screen); - /* Init SDL Video: */ - if (SDL_Init(SDL_INIT_VIDEO) < 0) { fprintf(stderr,