mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-03-17 16:32:37 +00:00
gl_texmgr.c: make sure "gl_texturemode" starts in sync with "mode".
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@619 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
accfc75d91
commit
c2188a9c85
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