mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 07:12:07 +00:00
Remove gl_anisotropic_available. It's unnecessary...
This commit is contained in:
parent
87f9084df1
commit
b36e60e097
1 changed files with 0 additions and 2 deletions
|
@ -1536,7 +1536,6 @@ R_Init(void *hinstance, void *hWnd)
|
|||
{
|
||||
gl_config.anisotropic = true;
|
||||
glGetFloatv(GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT, &gl_config.max_anisotropy);
|
||||
Cvar_SetValue("gl_anisotropic_avail", gl_config.max_anisotropy);
|
||||
|
||||
VID_Printf(PRINT_ALL, "%ux\n", (int)gl_config.max_anisotropy);
|
||||
}
|
||||
|
@ -1544,7 +1543,6 @@ R_Init(void *hinstance, void *hWnd)
|
|||
{
|
||||
gl_config.anisotropic = false;
|
||||
gl_config.max_anisotropy = 0.0;
|
||||
Cvar_SetValue("gl_anisotropic_avail", 0.0);
|
||||
|
||||
VID_Printf(PRINT_ALL, "Failed\n");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue