Rename gl_picmip to gl1_picmip.

This commit is contained in:
Yamagi Burmeister 2018-01-09 14:29:02 +01:00
parent 171e592693
commit be94b5612f
5 changed files with 7 additions and 7 deletions

View file

@ -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;

View file

@ -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 */

View file

@ -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);

View file

@ -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.

View file

@ -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"}
};