remove gl_texture_usehires since it's unused now

GLTEXMNU_ENABLEHIRES in language.csv is unused too
This commit is contained in:
Lucy Phipps 2020-04-05 12:42:06 +01:00
parent 5490ffcd77
commit 2c1a42ae55
No known key found for this signature in database
GPG key ID: 8F688A3DB7869BFE
6 changed files with 0 additions and 12 deletions

View file

@ -52,7 +52,6 @@
EXTERN_CVAR (Bool, vid_vsync) EXTERN_CVAR (Bool, vid_vsync)
EXTERN_CVAR(Bool, r_drawvoxels) EXTERN_CVAR(Bool, r_drawvoxels)
EXTERN_CVAR(Int, gl_tonemap) EXTERN_CVAR(Int, gl_tonemap)
EXTERN_CVAR(Bool, gl_texture_usehires)
void gl_LoadExtensions(); void gl_LoadExtensions();
void gl_PrintStartupLog(); void gl_PrintStartupLog();

View file

@ -29,8 +29,6 @@
#include "hw_ihwtexture.h" #include "hw_ihwtexture.h"
#include "hw_material.h" #include "hw_material.h"
EXTERN_CVAR(Bool, gl_texture_usehires)
//=========================================================================== //===========================================================================
// //
// Quick'n dirty image rescaling. // Quick'n dirty image rescaling.

View file

@ -80,11 +80,6 @@ CUSTOM_CVAR(Int, gl_texture_filter, 4, CVAR_ARCHIVE|CVAR_GLOBALCONFIG|CVAR_NOINI
screen->TextureFilterChanged(); screen->TextureFilterChanged();
} }
CUSTOM_CVAR(Bool, gl_texture_usehires, true, CVAR_ARCHIVE|CVAR_NOINITCALL)
{
TexMan.FlushAll();
}
CVAR(Bool, gl_precache, false, CVAR_ARCHIVE) CVAR(Bool, gl_precache, false, CVAR_ARCHIVE)
//========================================================================== //==========================================================================

View file

@ -10,7 +10,6 @@ EXTERN_CVAR(Bool, gl_texture)
EXTERN_CVAR(Int, gl_texture_filter) EXTERN_CVAR(Int, gl_texture_filter)
EXTERN_CVAR(Float, gl_texture_filter_anisotropic) EXTERN_CVAR(Float, gl_texture_filter_anisotropic)
EXTERN_CVAR(Int, gl_texture_format) EXTERN_CVAR(Int, gl_texture_format)
EXTERN_CVAR(Bool, gl_texture_usehires)
EXTERN_CVAR(Bool, gl_usefb) EXTERN_CVAR(Bool, gl_usefb)
EXTERN_CVAR(Int, gl_weaponlight) EXTERN_CVAR(Int, gl_weaponlight)

View file

@ -39,8 +39,6 @@
#include "m_alloc.h" #include "m_alloc.h"
#include "imagehelpers.h" #include "imagehelpers.h"
EXTERN_CVAR(Bool, gl_texture_usehires)
FSoftwareTexture *FTexture::GetSoftwareTexture() FSoftwareTexture *FTexture::GetSoftwareTexture()
{ {

View file

@ -2534,7 +2534,6 @@ OptionMenu "GLTextureGLOptions" protected
Title "$GLTEXMNU_TITLE" Title "$GLTEXMNU_TITLE"
Option "$GLTEXMNU_TEXFILTER", gl_texture_filter, "FilterModes" Option "$GLTEXMNU_TEXFILTER", gl_texture_filter, "FilterModes"
Option "$GLTEXMNU_ANISOTROPIC", gl_texture_filter_anisotropic, "Anisotropy" Option "$GLTEXMNU_ANISOTROPIC", gl_texture_filter_anisotropic, "Anisotropy"
Option "$GLTEXMNU_ENABLEHIRES", gl_texture_usehires, "YesNo"
ifOption(MMX) ifOption(MMX)
{ {