mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-15 16:41:22 +00:00
gl_texmgr.c: make sure "gl_texturemode" starts in sync with "mode".
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@619 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
ec91b6a204
commit
2151a3b9ed
1 changed files with 3 additions and 2 deletions
|
@ -583,9 +583,10 @@ void TexMgr_Init (void)
|
|||
Cvar_RegisterVariable (&gl_max_size);
|
||||
Cvar_RegisterVariable (&gl_picmip);
|
||||
Cvar_RegisterVariable (&gl_texture_anisotropy);
|
||||
Cvar_SetCallback(&gl_texture_anisotropy, &TexMgr_Anisotropy_f);
|
||||
Cvar_SetCallback (&gl_texture_anisotropy, &TexMgr_Anisotropy_f);
|
||||
Cvar_RegisterVariable (&gl_texturemode);
|
||||
Cvar_SetCallback(&gl_texturemode, &TexMgr_TextureMode_f);
|
||||
Cvar_SetQuick (&gl_texturemode, modes[mode].name); // sync with mode
|
||||
Cvar_SetCallback (&gl_texturemode, &TexMgr_TextureMode_f);
|
||||
Cmd_AddCommand ("gl_describetexturemodes", &TexMgr_DescribeTextureModes_f);
|
||||
Cmd_AddCommand ("imagelist", &TexMgr_Imagelist_f);
|
||||
Cmd_AddCommand ("imagedump", &TexMgr_Imagedump_f);
|
||||
|
|
Loading…
Reference in a new issue