Rename gl_ztrick to gl1_ztrick.

This commit is contained in:
Yamagi Burmeister 2018-01-09 15:58:05 +01:00
parent 24b014715f
commit e01e9a0b94
4 changed files with 7 additions and 6 deletions

View file

@ -205,7 +205,7 @@ extern cvar_t *gl1_picmip;
extern cvar_t *gl_showtris;
extern cvar_t *gl_showbbox;
extern cvar_t *gl_finish;
extern cvar_t *gl_ztrick;
extern cvar_t *gl1_ztrick;
extern cvar_t *gl_zfix;
extern cvar_t *r_clear;
extern cvar_t *gl_cull;

View file

@ -112,7 +112,7 @@ cvar_t *gl1_round_down;
cvar_t *gl1_picmip;
cvar_t *gl_showtris;
cvar_t *gl_showbbox;
cvar_t *gl_ztrick;
cvar_t *gl1_ztrick;
cvar_t *gl_zfix;
cvar_t *gl_finish;
cvar_t *r_clear;
@ -842,7 +842,7 @@ R_Clear(void)
stencilFlags |= GL_STENCIL_BUFFER_BIT;
}
if (gl_ztrick->value)
if (gl1_ztrick->value)
{
static int trickframe;
@ -1229,7 +1229,7 @@ R_Register(void)
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);
gl1_ztrick = ri.Cvar_Get("gl1_ztrick", "0", 0);
gl_zfix = ri.Cvar_Get("gl_zfix", "0", 0);
gl_finish = ri.Cvar_Get("gl_finish", "0", CVAR_ARCHIVE);
r_clear = ri.Cvar_Get("r_clear", "0", 0);

View file

@ -267,7 +267,7 @@ GL3_Register(void)
//gl_nobind = ri.Cvar_Get("gl_nobind", "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.
//gl1_ztrick = ri.Cvar_Get("gl1_ztrick", "0", 0); NOTE: dump this.
//gl_zfix = ri.Cvar_Get("gl_zfix", "0", 0);
//gl_finish = ri.Cvar_Get("gl_finish", "0", CVAR_ARCHIVE);
r_clear = ri.Cvar_Get("r_clear", "0", 0);

View file

@ -79,7 +79,8 @@ replacement_t replacements[] = {
{"gl_stereo_convergence", "gl1_stereo_convergence"},
{"gl_swapinterval", "r_vsync"},
{"gl_texturealphamode", "gl1_texturealphamode"},
{"gl_texturesolidmode", "gl1_texturesolidmode"}
{"gl_texturesolidmode", "gl1_texturesolidmode"},
{"gl_ztrick", "gl1_ztrick"}
};