mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 07:12:07 +00:00
Rename gl_picmip to gl1_picmip.
This commit is contained in:
parent
171e592693
commit
be94b5612f
5 changed files with 7 additions and 7 deletions
|
@ -201,7 +201,7 @@ extern cvar_t *gl_stencilshadow;
|
|||
extern cvar_t *gl1_dynamic;
|
||||
extern cvar_t *gl_nobind;
|
||||
extern cvar_t *gl_round_down;
|
||||
extern cvar_t *gl_picmip;
|
||||
extern cvar_t *gl1_picmip;
|
||||
extern cvar_t *gl_showtris;
|
||||
extern cvar_t *gl_showbbox;
|
||||
extern cvar_t *gl_finish;
|
||||
|
|
|
@ -616,8 +616,8 @@ R_Upload32Soft(unsigned *data, int width, int height, qboolean mipmap)
|
|||
/* let people sample down the world textures for speed */
|
||||
if (mipmap)
|
||||
{
|
||||
scaled_width >>= (int)gl_picmip->value;
|
||||
scaled_height >>= (int)gl_picmip->value;
|
||||
scaled_width >>= (int)gl1_picmip->value;
|
||||
scaled_height >>= (int)gl1_picmip->value;
|
||||
}
|
||||
|
||||
/* don't ever bother with >256 textures */
|
||||
|
|
|
@ -109,7 +109,7 @@ cvar_t *gl1_dynamic;
|
|||
cvar_t *r_modulate;
|
||||
cvar_t *gl_nobind;
|
||||
cvar_t *gl_round_down;
|
||||
cvar_t *gl_picmip;
|
||||
cvar_t *gl1_picmip;
|
||||
cvar_t *gl_showtris;
|
||||
cvar_t *gl_showbbox;
|
||||
cvar_t *gl_ztrick;
|
||||
|
@ -1226,7 +1226,7 @@ R_Register(void)
|
|||
gl1_dynamic = ri.Cvar_Get("gl1_dynamic", "1", 0);
|
||||
gl_nobind = ri.Cvar_Get("gl_nobind", "0", 0);
|
||||
gl_round_down = ri.Cvar_Get("gl_round_down", "1", 0);
|
||||
gl_picmip = ri.Cvar_Get("gl_picmip", "0", 0);
|
||||
gl1_picmip = ri.Cvar_Get("gl1_picmip", "0", 0);
|
||||
gl_showtris = ri.Cvar_Get("gl_showtris", "0", 0);
|
||||
gl_showbbox = ri.Cvar_Get("gl_showbbox", "0", 0);
|
||||
gl_ztrick = ri.Cvar_Get("gl_ztrick", "0", 0);
|
||||
|
|
|
@ -269,7 +269,6 @@ GL3_Register(void)
|
|||
//gl_stencilshadow = ri.Cvar_Get("gl_stencilshadow", "0", CVAR_ARCHIVE);
|
||||
//gl_nobind = ri.Cvar_Get("gl_nobind", "0", 0);
|
||||
gl_round_down = ri.Cvar_Get("gl_round_down", "1", 0);
|
||||
gl_picmip = ri.Cvar_Get("gl_picmip", "0", 0);
|
||||
gl_showtris = ri.Cvar_Get("gl_showtris", "0", 0);
|
||||
gl_showbbox = Cvar_Get("gl_showbbox", "0", 0);
|
||||
//gl_ztrick = ri.Cvar_Get("gl_ztrick", "0", 0); NOTE: dump this.
|
||||
|
|
|
@ -66,7 +66,8 @@ replacement_t replacements[] = {
|
|||
{"gl_particle_size", "gl1_particle_size"},
|
||||
{"gl_particle_att_a", "gl1_particle_att_a"},
|
||||
{"gl_particle_att_b", "gl1_particle_att_b"},
|
||||
{"gl_particle_att_c", "gl1_particle_att_c"}
|
||||
{"gl_particle_att_c", "gl1_particle_att_c"},
|
||||
{"gl_picmip", "gl1_picmip"}
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue