about summary refs log tree commit diff
path: root/src/engine/client/ec_gfx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/client/ec_gfx.c')
-rw-r--r--src/engine/client/ec_gfx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/engine/client/ec_gfx.c b/src/engine/client/ec_gfx.c
index 46047c4a..dbd4daf7 100644
--- a/src/engine/client/ec_gfx.c
+++ b/src/engine/client/ec_gfx.c
@@ -165,7 +165,8 @@ static int try_init()
 	flags  = SDL_OPENGL;
 	flags |= SDL_GL_DOUBLEBUFFER;
 	flags |= SDL_HWPALETTE;
-	flags |= SDL_RESIZABLE;
+	if(config.dbg_resizable)
+		flags |= SDL_RESIZABLE;
 
 	if(info->hw_available)
 		flags |= SDL_HWSURFACE;