Rename gl_polyblend to gl1_polyblend.

This commit is contained in:
Yamagi Burmeister 2018-01-09 14:34:27 +01:00
parent bbe4fe0b68
commit 6c880bcf1f
4 changed files with 6 additions and 6 deletions

View file

@ -209,7 +209,7 @@ extern cvar_t *gl_ztrick;
extern cvar_t *gl_zfix;
extern cvar_t *r_clear;
extern cvar_t *gl_cull;
extern cvar_t *gl_polyblend;
extern cvar_t *gl1_polyblend;
extern cvar_t *gl1_flashblend;
extern cvar_t *r_modulate;
extern cvar_t *gl_drawbuffer;

View file

@ -117,7 +117,7 @@ cvar_t *gl_zfix;
cvar_t *gl_finish;
cvar_t *r_clear;
cvar_t *gl_cull;
cvar_t *gl_polyblend;
cvar_t *gl1_polyblend;
cvar_t *gl1_flashblend;
cvar_t *gl_saturatelighting;
cvar_t *gl_swapinterval;
@ -574,7 +574,7 @@ R_DrawParticles(void)
void
R_PolyBlend(void)
{
if (!gl_polyblend->value)
if (!gl1_polyblend->value)
{
return;
}
@ -1234,7 +1234,7 @@ R_Register(void)
gl_finish = ri.Cvar_Get("gl_finish", "0", CVAR_ARCHIVE);
r_clear = ri.Cvar_Get("r_clear", "0", 0);
gl_cull = ri.Cvar_Get("gl_cull", "1", 0);
gl_polyblend = ri.Cvar_Get("gl_polyblend", "1", 0);
gl1_polyblend = ri.Cvar_Get("gl1_polyblend", "1", 0);
gl1_flashblend = ri.Cvar_Get("gl1_flashblend", "0", 0);
gl_texturemode = ri.Cvar_Get("gl_texturemode", "GL_LINEAR_MIPMAP_NEAREST", CVAR_ARCHIVE);

View file

@ -276,7 +276,6 @@ GL3_Register(void)
//gl_finish = ri.Cvar_Get("gl_finish", "0", CVAR_ARCHIVE);
r_clear = ri.Cvar_Get("r_clear", "0", 0);
// gl_cull = ri.Cvar_Get("gl_cull", "1", 0);
gl_polyblend = ri.Cvar_Get("gl_polyblend", "1", 0);
//gl1_flashblend = ri.Cvar_Get("gl1_flashblend", "0", 0);
//gl_texturemode = ri.Cvar_Get("gl_texturemode", "GL_LINEAR_MIPMAP_NEAREST", CVAR_ARCHIVE);

View file

@ -68,7 +68,8 @@ replacement_t replacements[] = {
{"gl_particle_att_b", "gl1_particle_att_b"},
{"gl_particle_att_c", "gl1_particle_att_c"},
{"gl_picmip", "gl1_picmip"},
{"gl_pointparameters", "gl1_pointparameters"}
{"gl_pointparameters", "gl1_pointparameters"},
{"gl_polyblend", "gl1_polyblend"}
};