summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/graphics.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/graphics.cpp b/src/graphics.cpp
index 4854d5fa..784e6e77 100644
--- a/src/graphics.cpp
+++ b/src/graphics.cpp
@@ -59,7 +59,6 @@ bool Graphics::setVideoMode(int w, int h, int bpp, bool fs, bool hwaccel)
displayFlags |= SDL_SWSURFACE;
}
- delete mScreen;
mScreen = SDL_SetVideoMode(w, h, bpp, displayFlags);
if (!mScreen) {