mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 07:12:07 +00:00
Rename gl_palettedtexture to gl1_palettedtexture.
This commit is contained in:
parent
f0c4b4fd14
commit
4061e85cd7
5 changed files with 10 additions and 9 deletions
|
@ -177,7 +177,7 @@ extern cvar_t *r_lerpmodels;
|
|||
extern cvar_t *r_lightlevel;
|
||||
extern cvar_t *gl1_overbrightbits;
|
||||
|
||||
extern cvar_t *gl_palettedtexture;
|
||||
extern cvar_t *gl1_palettedtexture;
|
||||
extern cvar_t *gl_pointparameters;
|
||||
|
||||
extern cvar_t *gl_particle_min_size;
|
||||
|
|
|
@ -669,7 +669,7 @@ R_Upload32Soft(unsigned *data, int width, int height, qboolean mipmap)
|
|||
{
|
||||
if (!mipmap)
|
||||
{
|
||||
if (qglColorTableEXT && gl_palettedtexture->value &&
|
||||
if (qglColorTableEXT && gl1_palettedtexture->value &&
|
||||
(samples == gl_solid_format))
|
||||
{
|
||||
uploaded_paletted = true;
|
||||
|
@ -699,7 +699,7 @@ R_Upload32Soft(unsigned *data, int width, int height, qboolean mipmap)
|
|||
|
||||
R_LightScaleTexture(scaled, scaled_width, scaled_height, !mipmap);
|
||||
|
||||
if (qglColorTableEXT && gl_palettedtexture->value &&
|
||||
if (qglColorTableEXT && gl1_palettedtexture->value &&
|
||||
(samples == gl_solid_format))
|
||||
{
|
||||
uploaded_paletted = true;
|
||||
|
@ -740,7 +740,7 @@ R_Upload32Soft(unsigned *data, int width, int height, qboolean mipmap)
|
|||
|
||||
miplevel++;
|
||||
|
||||
if (qglColorTableEXT && gl_palettedtexture->value &&
|
||||
if (qglColorTableEXT && gl1_palettedtexture->value &&
|
||||
(samples == gl_solid_format))
|
||||
{
|
||||
uploaded_paletted = true;
|
||||
|
|
|
@ -89,7 +89,7 @@ cvar_t *gl_particle_att_a;
|
|||
cvar_t *gl_particle_att_b;
|
||||
cvar_t *gl_particle_att_c;
|
||||
|
||||
cvar_t *gl_palettedtexture;
|
||||
cvar_t *gl1_palettedtexture;
|
||||
cvar_t *gl_pointparameters;
|
||||
|
||||
cvar_t *gl_drawbuffer;
|
||||
|
@ -1243,7 +1243,7 @@ R_Register(void)
|
|||
gl_anisotropic = ri.Cvar_Get("gl_anisotropic", "0", CVAR_ARCHIVE);
|
||||
r_lockpvs = ri.Cvar_Get("r_lockpvs", "0", 0);
|
||||
|
||||
gl_palettedtexture = ri.Cvar_Get("gl_palettedtexture", "0", CVAR_ARCHIVE);
|
||||
gl1_palettedtexture = ri.Cvar_Get("gl1_palettedtexture", "0", CVAR_ARCHIVE);
|
||||
gl_pointparameters = ri.Cvar_Get("gl_pointparameters", "1", CVAR_ARCHIVE);
|
||||
|
||||
gl_drawbuffer = ri.Cvar_Get("gl_drawbuffer", "GL_BACK", 0);
|
||||
|
@ -1507,7 +1507,7 @@ RI_Init()
|
|||
|
||||
gl_config.palettedtexture = false;
|
||||
|
||||
if (gl_palettedtexture->value)
|
||||
if (gl1_palettedtexture->value)
|
||||
{
|
||||
if (qglColorTableEXT)
|
||||
{
|
||||
|
|
|
@ -286,7 +286,7 @@ GL3_Register(void)
|
|||
//gl_anisotropic = ri.Cvar_Get("gl_anisotropic", "0", CVAR_ARCHIVE);
|
||||
//r_lockpvs = ri.Cvar_Get("r_lockpvs", "0", 0);
|
||||
|
||||
//gl_palettedtexture = ri.Cvar_Get("gl_palettedtexture", "0", CVAR_ARCHIVE); NOPE.
|
||||
//gl1_palettedtexture = ri.Cvar_Get("gl1_palettedtexture", "0", CVAR_ARCHIVE); NOPE.
|
||||
gl_pointparameters = ri.Cvar_Get("gl_pointparameters", "1", CVAR_ARCHIVE);
|
||||
|
||||
//gl_drawbuffer = ri.Cvar_Get("gl_drawbuffer", "GL_BACK", 0);
|
||||
|
|
|
@ -59,7 +59,8 @@ replacement_t replacements[] = {
|
|||
{"gl_maxfps", "vid_maxfps"},
|
||||
{"gl_mode", "r_mode"},
|
||||
{"gl_modulate", "r_modulate"},
|
||||
{"gl_overbrightbits", "gl1_overbrightbits"}
|
||||
{"gl_overbrightbits", "gl1_overbrightbits"},
|
||||
{"gl_palettedtextures", "gl1_palettedtextures"}
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue