]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host.c
reworked makefile a little bit to support DX9 renderer, add D3D=1 to
[xonotic/darkplaces.git] / host.c
diff --git a/host.c b/host.c
index feafe69a7d3c63d167a8a526d8b2f0a0890f05e4..3c77a0e356ce13c439cd0160946f0e2f74e809c0 100644 (file)
--- a/host.c
+++ b/host.c
@@ -210,6 +210,7 @@ Host_InitLocal
 void Host_SaveConfig_f(void);
 void Host_LoadConfig_f(void);
 extern cvar_t sv_writepicture_quality;
+extern cvar_t r_texture_jpeg_fastpicmip;
 static void Host_InitLocal (void)
 {
        Cmd_AddCommand("saveconfig", Host_SaveConfig_f, "save settings to config.cfg (or a specified filename) immediately (also automatic when quitting)");
@@ -239,6 +240,7 @@ static void Host_InitLocal (void)
        Cvar_RegisterVariable (&timeformat);
 
        Cvar_RegisterVariable (&sv_writepicture_quality);
+       Cvar_RegisterVariable (&r_texture_jpeg_fastpicmip);
 }