mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-26 22:40:50 +00:00
Rename gl_polyblend to gl1_polyblend.
This commit is contained in:
parent
bbe4fe0b68
commit
6c880bcf1f
4 changed files with 6 additions and 6 deletions
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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"}
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue