mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-23 13:02:07 +00:00
Rename gl_ztrick to gl1_ztrick.
This commit is contained in:
parent
24b014715f
commit
e01e9a0b94
4 changed files with 7 additions and 6 deletions
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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"}
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue