]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
v_hwgamma is now saved to config (Andreas Kirsh suggested this and I agree)
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 28 Aug 2003 14:07:47 +0000 (14:07 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 28 Aug 2003 14:07:47 +0000 (14:07 +0000)
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

vid_shared.c

index 76d3c75b2889ac147f080f91d4183ec075145570..dfce1bbb718436fae8cc71025f81f812bddb0164 100644 (file)
@@ -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;