From: havoc Date: Thu, 28 Aug 2003 14:07:47 +0000 (+0000) Subject: v_hwgamma is now saved to config (Andreas Kirsh suggested this and I agree) X-Git-Tag: xonotic-v0.1.0preview~6408 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8d87eaaa1c6e17eab795c6ee75c74965ca3ccda1;p=xonotic%2Fdarkplaces.git v_hwgamma is now saved to config (Andreas Kirsh suggested this and I agree) gl_combine is now saved to config (due to popular demand, although this really should become a separate overbright cvar instead) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3425 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/vid_shared.c b/vid_shared.c index 76d3c75b..dfce1bbb 100644 --- a/vid_shared.c +++ b/vid_shared.c @@ -56,7 +56,7 @@ cvar_t vid_bitsperpixel = {CVAR_SAVE, "vid_bitsperpixel", "16"}; cvar_t vid_stencil = {CVAR_SAVE, "vid_stencil", "0"}; cvar_t vid_mouse = {CVAR_SAVE, "vid_mouse", "1"}; -cvar_t gl_combine = {0, "gl_combine", "1"}; +cvar_t gl_combine = {CVAR_SAVE, "gl_combine", "1"}; cvar_t in_pitch_min = {0, "in_pitch_min", "-70"}; cvar_t in_pitch_max = {0, "in_pitch_max", "80"}; @@ -77,7 +77,7 @@ cvar_t v_color_white_r = {CVAR_SAVE, "v_color_white_r", "1"}; cvar_t v_color_white_g = {CVAR_SAVE, "v_color_white_g", "1"}; cvar_t v_color_white_b = {CVAR_SAVE, "v_color_white_b", "1"}; cvar_t v_overbrightbits = {CVAR_SAVE, "v_overbrightbits", "0"}; -cvar_t v_hwgamma = {0, "v_hwgamma", "1"}; +cvar_t v_hwgamma = {CVAR_SAVE, "v_hwgamma", "1"}; // brand of graphics chip const char *gl_vendor;