diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-12-11 23:10:07 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-12-11 23:10:07 +0000 |
| commit | 182c77721e60c6a3b68cc3f1f83e485374d85096 (patch) | |
| tree | 9d87e573333dac3f21419b8666c409eaf36a627f /src/engine/client/gfx.c | |
| parent | 7cf32e6f972ca4f7cd0bdb1e8a85930a16244747 (diff) | |
| download | zcatch-182c77721e60c6a3b68cc3f1f83e485374d85096.tar.gz zcatch-182c77721e60c6a3b68cc3f1f83e485374d85096.zip | |
cleaned up the console variables
Diffstat (limited to 'src/engine/client/gfx.c')
| -rw-r--r-- | src/engine/client/gfx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/engine/client/gfx.c b/src/engine/client/gfx.c index 31483224..c61f0cb1 100644 --- a/src/engine/client/gfx.c +++ b/src/engine/client/gfx.c @@ -185,7 +185,7 @@ int gfx_init() glfwInit(); - if(config.stress) + if(config.dbg_stress) { screen_width = 320; screen_height = 240; @@ -228,7 +228,7 @@ int gfx_init() glfwSetWindowTitle("Teewars"); /* We don't want to see the window when we run the stress testing */ - if(config.stress) + if(config.dbg_stress) glfwIconifyWindow(); /* Init vertices */ @@ -408,7 +408,7 @@ int gfx_load_texture_raw(int w, int h, int format, const void *data) int tex = 0; /* don't waste memory on texture if we are stress testing */ - if(config.stress) + if(config.dbg_stress) return -1; /* grab texture */ |