]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_screen.c
added r_lightning.c to move the lightning beam rendering code out of cl_main.c
[xonotic/darkplaces.git] / cl_screen.c
index 3ba0fcc625acf682c16105a35e8a3267d7cc8eea..c1255701451f3a041a25242966ff56469b37dca3 100644 (file)
@@ -7,7 +7,7 @@ cvar_t scr_viewsize = {CVAR_SAVE, "viewsize","100"};
 cvar_t scr_fov = {CVAR_SAVE, "fov","90"};      // 10 - 170
 cvar_t scr_conspeed = {CVAR_SAVE, "scr_conspeed","900"}; // LordHavoc: quake used 300
 cvar_t scr_conalpha = {CVAR_SAVE, "scr_conalpha", "1"};
-cvar_t scr_conbrightness = {CVAR_SAVE, "scr_conbrightness", "0"};
+cvar_t scr_conbrightness = {CVAR_SAVE, "scr_conbrightness", "0.2"};
 cvar_t scr_centertime = {0, "scr_centertime","2"};
 cvar_t scr_showram = {CVAR_SAVE, "showram","1"};
 cvar_t scr_showturtle = {CVAR_SAVE, "showturtle","0"};
@@ -965,8 +965,8 @@ void CL_UpdateScreen(void)
 
        DrawQ_Clear();
 
-       V_UpdateBlends();
-       V_CalcRefdef ();
+       if (!intimerefresh)
+               V_CalcRefdef();
 
        if (cls.signon == SIGNONS)
                R_TimeReport("setup");