From b8695528c799497c27146eb320cff0af9a1c6b24 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Mon, 10 May 2004 15:02:26 +0000 Subject: [PATCH 1/1] never free the screen surface, SDL doesn't allow that SVN-Revision: 1075 --- src/setup.cpp | 4 ---- 1 file changed, 4 deletions(-) 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, -- 2.11.0