about summary refs log tree commit diff
path: root/src/engine/shared/config_variables.h
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2011-12-31 10:29:25 +0100
committerMagnus Auvinen <magnus.auvinen@gmail.com>2011-12-31 10:29:25 +0100
commitb31abc40537bff7e159091ff61d5af442296c4d9 (patch)
tree191d77ac4d6104e882ef8c7e14ba7b38b8c2bb6b /src/engine/shared/config_variables.h
parent4e923442e48bd78617061afe9da0ed5bf5d1fa02 (diff)
downloadzcatch-b31abc40537bff7e159091ff61d5af442296c4d9.tar.gz
zcatch-b31abc40537bff7e159091ff61d5af442296c4d9.zip
fixed so that you can select graphics backend via gfx_threaded
Diffstat (limited to 'src/engine/shared/config_variables.h')
-rw-r--r--src/engine/shared/config_variables.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/engine/shared/config_variables.h b/src/engine/shared/config_variables.h
index 352cefd8..e7b1f7da 100644
--- a/src/engine/shared/config_variables.h
+++ b/src/engine/shared/config_variables.h
@@ -72,6 +72,8 @@ MACRO_CONFIG_INT(GfxRefreshRate, gfx_refresh_rate, 0, 0, 0, CFGFLAG_SAVE|CFGFLAG
 MACRO_CONFIG_INT(GfxFinish, gfx_finish, 1, 0, 1, CFGFLAG_SAVE|CFGFLAG_CLIENT, "")
 MACRO_CONFIG_INT(GfxAsyncRender, gfx_asyncrender, 1, 0, 1, CFGFLAG_SAVE|CFGFLAG_CLIENT, "Do rendering async from the the update")
 
+MACRO_CONFIG_INT(GfxThreaded, gfx_threaded, 1, 0, 1, CFGFLAG_SAVE|CFGFLAG_CLIENT, "Use the threaded graphics backend")
+
 MACRO_CONFIG_INT(InpMousesens, inp_mousesens, 100, 5, 100000, CFGFLAG_SAVE|CFGFLAG_CLIENT, "Mouse sensitivity")
 
 MACRO_CONFIG_STR(SvName, sv_name, 128, "unnamed server", CFGFLAG_SERVER, "Server name")