aboutsummaryrefslogtreecommitdiffstats
path: root/graphics.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2003-03-27 05:48:07 +0000
committerH. Peter Anvin <hpa@zytor.com>2003-03-27 05:48:07 +0000
commitc3aadb29c59e52d4a7cca3a1dc269a3c388695ff (patch)
tree70717210b8c0eca3805aac26f8c3d814b4f46247 /graphics.c
parenta809fe7de5acf2bfd4bfe223b33d49b6daf67afb (diff)
downloadgrv-c3aadb29c59e52d4a7cca3a1dc269a3c388695ff.tar.gz
grv-c3aadb29c59e52d4a7cca3a1dc269a3c388695ff.tar.xz
grv-c3aadb29c59e52d4a7cca3a1dc269a3c388695ff.zip
Fix lots of little bugs
Diffstat (limited to 'graphics.c')
-rw-r--r--graphics.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics.c b/graphics.c
index dd77c8d..d187e8c 100644
--- a/graphics.c
+++ b/graphics.c
@@ -385,7 +385,8 @@ int screen_init(int window)
{
int i;
- if ( SDL_Init(SDL_INIT_TIMER|SDL_INIT_VIDEO) )
+ if ( SDL_Init(SDL_INIT_TIMER|SDL_INIT_VIDEO
+ | (opt.debug ? SDL_INIT_NOPARACHUTE : 0)) )
return -1;
if ( !(rscreen = SDL_SetVideoMode(PX_WIDTH, PX_HEIGHT, 32,