summaryrefslogtreecommitdiffstats
path: root/src/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/init.c')
-rw-r--r--src/init.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/init.c b/src/init.c
index f893d1d..921ce6e 100644
--- a/src/init.c
+++ b/src/init.c
@@ -15,12 +15,6 @@ init(void)
if (IMG_Init(IMG_INIT_PNG) != IMG_INIT_PNG) {
err(1, "Failed to initialize SDL_Image (%s)", IMG_GetError());
}
-
- debug("Setting video mode...");
- screen = SDL_SetVideoMode(240, 160, 8, SDL_SWSURFACE | SDL_ANYFORMAT);
- if (screen == NULL) {
- err(1, "Failed to set video mode (%s)", SDL_GetError());
- }
}
void