mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
Accidentilly changed the default texture filtering mode. oops.
This commit is contained in:
parent
2bb1c8c96f
commit
6ebdec2f1e
1 changed files with 2 additions and 2 deletions
|
@ -128,7 +128,7 @@ static glmode_t glmodes[] = {
|
|||
{GL_LINEAR, GL_NEAREST_MIPMAP_LINEAR, "lln", NULL},
|
||||
};
|
||||
#define NUM_GLMODES (int)(sizeof(glmodes)/sizeof(glmodes[0]))
|
||||
static int glmode_idx = NUM_GLMODES - 1; /* trilinear */
|
||||
static int glmode_idx = 5; /* trilinear */
|
||||
|
||||
/*
|
||||
===============
|
||||
|
@ -689,7 +689,7 @@ void TexMgr_Init (void)
|
|||
Cvar_RegisterVariable (&gl_picmip);
|
||||
Cvar_RegisterVariable (&gl_texture_anisotropy);
|
||||
Cvar_SetCallback (&gl_texture_anisotropy, &TexMgr_Anisotropy_f);
|
||||
gl_texturemode.string = glmodes[glmode_idx].name2?glmodes[glmode_idx].name2:glmodes[glmode_idx].name1;
|
||||
gl_texturemode.string = glmodes[glmode_idx].name1?glmodes[glmode_idx].name1:glmodes[glmode_idx].name2;
|
||||
Cvar_RegisterVariable (&gl_texturemode);
|
||||
Cvar_SetCallback (&gl_texturemode, &TexMgr_TextureMode_f);
|
||||
Cmd_AddCommand ("gl_describetexturemodes", &TexMgr_DescribeTextureModes_f);
|
||||
|
|
Loading…
Reference in a new issue