mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-30 00:10:53 +00:00
Rename gl1_polyblend to gl_polyblend.
An upcoming commit will implement it for GL3.
This commit is contained in:
parent
c48ff63b50
commit
c5c2af0320
2 changed files with 4 additions and 4 deletions
|
@ -121,7 +121,7 @@ cvar_t *gl_zfix;
|
||||||
cvar_t *gl_finish;
|
cvar_t *gl_finish;
|
||||||
cvar_t *r_clear;
|
cvar_t *r_clear;
|
||||||
cvar_t *gl_cull;
|
cvar_t *gl_cull;
|
||||||
cvar_t *gl1_polyblend;
|
cvar_t *gl_polyblend;
|
||||||
cvar_t *gl1_flashblend;
|
cvar_t *gl1_flashblend;
|
||||||
cvar_t *gl1_saturatelighting;
|
cvar_t *gl1_saturatelighting;
|
||||||
cvar_t *r_vsync;
|
cvar_t *r_vsync;
|
||||||
|
@ -599,7 +599,7 @@ R_DrawParticles(void)
|
||||||
void
|
void
|
||||||
R_PolyBlend(void)
|
R_PolyBlend(void)
|
||||||
{
|
{
|
||||||
if (!gl1_polyblend->value)
|
if (!gl_polyblend->value)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -1261,7 +1261,7 @@ R_Register(void)
|
||||||
gl_finish = ri.Cvar_Get("gl_finish", "0", CVAR_ARCHIVE);
|
gl_finish = ri.Cvar_Get("gl_finish", "0", CVAR_ARCHIVE);
|
||||||
r_clear = ri.Cvar_Get("r_clear", "0", 0);
|
r_clear = ri.Cvar_Get("r_clear", "0", 0);
|
||||||
gl_cull = ri.Cvar_Get("gl_cull", "1", 0);
|
gl_cull = ri.Cvar_Get("gl_cull", "1", 0);
|
||||||
gl1_polyblend = ri.Cvar_Get("gl1_polyblend", "1", 0);
|
gl_polyblend = ri.Cvar_Get("gl_polyblend", "1", 0);
|
||||||
gl1_flashblend = ri.Cvar_Get("gl1_flashblend", "0", 0);
|
gl1_flashblend = ri.Cvar_Get("gl1_flashblend", "0", 0);
|
||||||
r_fixsurfsky = ri.Cvar_Get("r_fixsurfsky", "0", CVAR_ARCHIVE);
|
r_fixsurfsky = ri.Cvar_Get("r_fixsurfsky", "0", CVAR_ARCHIVE);
|
||||||
|
|
||||||
|
|
|
@ -72,7 +72,6 @@ replacement_t replacements[] = {
|
||||||
{"gl_particle_att_c", "gl1_particle_att_c"},
|
{"gl_particle_att_c", "gl1_particle_att_c"},
|
||||||
{"gl_picmip", "gl1_picmip"},
|
{"gl_picmip", "gl1_picmip"},
|
||||||
{"gl_pointparameters", "gl1_pointparameters"},
|
{"gl_pointparameters", "gl1_pointparameters"},
|
||||||
{"gl_polyblend", "gl1_polyblend"},
|
|
||||||
{"gl_round_down", "gl1_round_down"},
|
{"gl_round_down", "gl1_round_down"},
|
||||||
{"gl_saturatelightning", "gl1_saturatelightning"},
|
{"gl_saturatelightning", "gl1_saturatelightning"},
|
||||||
{"gl_stencilshadows", "gl1_stencilshadows"},
|
{"gl_stencilshadows", "gl1_stencilshadows"},
|
||||||
|
@ -90,6 +89,7 @@ replacement_t replacements[] = {
|
||||||
{"gl_shadows", "r_shadows"},
|
{"gl_shadows", "r_shadows"},
|
||||||
{"gl_anisotropic", "r_anisotropic"},
|
{"gl_anisotropic", "r_anisotropic"},
|
||||||
{"gl_lightmap", "r_lighmap"},
|
{"gl_lightmap", "r_lighmap"},
|
||||||
|
{"gl1_polyblend", "gl_polyblend"},
|
||||||
{"intensity", "gl1_intensity"}
|
{"intensity", "gl1_intensity"}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue