From: divverent Date: Sun, 23 Dec 2007 20:53:29 +0000 (+0000) Subject: fix fog after r_restart X-Git-Tag: xonotic-v0.1.0preview~2640 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0229fbee95a0110d1a9eb293be4bbfd4f31ec7a5;p=xonotic%2Fdarkplaces.git fix fog after r_restart git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7851 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/gl_rmain.c b/gl_rmain.c index e6a92360..18cf387c 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -1904,6 +1904,8 @@ void gl_main_start(void) memset(&r_waterstate, 0, sizeof(r_waterstate)); memset(r_glsl_permutations, 0, sizeof(r_glsl_permutations)); memset(&r_svbsp, 0, sizeof (r_svbsp)); + + r_refdef.fogmasktable_density = 0; } void gl_main_shutdown(void)