Rename gl_saturatelightning to gl1_saturatelightning.

This commit is contained in:
Yamagi Burmeister 2018-01-09 14:39:42 +01:00
parent aa6c1826db
commit 70ca5b2ade
5 changed files with 6 additions and 6 deletions

View file

@ -218,7 +218,7 @@ extern cvar_t *gl_anisotropic;
extern cvar_t *gl_texturemode;
extern cvar_t *gl_texturealphamode;
extern cvar_t *gl_texturesolidmode;
extern cvar_t *gl_saturatelighting;
extern cvar_t *gl1_saturatelighting;
extern cvar_t *r_lockpvs;
extern cvar_t *gl_msaa_samples;

View file

@ -119,7 +119,7 @@ cvar_t *r_clear;
cvar_t *gl_cull;
cvar_t *gl1_polyblend;
cvar_t *gl1_flashblend;
cvar_t *gl_saturatelighting;
cvar_t *gl1_saturatelighting;
cvar_t *gl_swapinterval;
cvar_t *gl_texturemode;
cvar_t *gl_texturealphamode;
@ -1249,7 +1249,7 @@ R_Register(void)
gl_drawbuffer = ri.Cvar_Get("gl_drawbuffer", "GL_BACK", 0);
gl_swapinterval = ri.Cvar_Get("gl_swapinterval", "1", CVAR_ARCHIVE);
gl_saturatelighting = ri.Cvar_Get("gl_saturatelighting", "0", 0);
gl1_saturatelighting = ri.Cvar_Get("gl1_saturatelighting", "0", 0);
vid_fullscreen = ri.Cvar_Get("vid_fullscreen", "0", CVAR_ARCHIVE);
vid_gamma = ri.Cvar_Get("vid_gamma", "1.2", CVAR_ARCHIVE);

View file

@ -270,7 +270,7 @@ R_BlendLightmaps(void)
{
glEnable(GL_BLEND);
if (gl_saturatelighting->value)
if (gl1_saturatelighting->value)
{
glBlendFunc(GL_ONE, GL_ONE);
}

View file

@ -289,7 +289,6 @@ GL3_Register(void)
//gl_drawbuffer = ri.Cvar_Get("gl_drawbuffer", "GL_BACK", 0);
//gl_swapinterval = ri.Cvar_Get("gl_swapinterval", "1", CVAR_ARCHIVE);
gl_saturatelighting = ri.Cvar_Get("gl_saturatelighting", "0", 0);
//vid_fullscreen = ri.Cvar_Get("vid_fullscreen", "0", CVAR_ARCHIVE);
//vid_gamma = ri.Cvar_Get("vid_gamma", "1.0", CVAR_ARCHIVE);

View file

@ -70,7 +70,8 @@ replacement_t replacements[] = {
{"gl_picmip", "gl1_picmip"},
{"gl_pointparameters", "gl1_pointparameters"},
{"gl_polyblend", "gl1_polyblend"},
{"gl_round_down", "gl1_round_down"}
{"gl_round_down", "gl1_round_down"},
{"gl_saturatelightning", "gl1_saturatelightning"}
};