projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff73c4d
)
never free the screen surface, SDL doesn't allow that
author
Matthias Braun
<matze@braunis.de>
Mon, 10 May 2004 15:02:26 +0000
(15:02 +0000)
committer
Matthias Braun
<matze@braunis.de>
Mon, 10 May 2004 15:02:26 +0000
(15:02 +0000)
SVN-Revision: 1075
src/setup.cpp
patch
|
blob
|
history
diff --git
a/src/setup.cpp
b/src/setup.cpp
index
d6318e7
..
4a9eacc
100644
(file)
--- 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,