Skip to content

Commit

Permalink
remove gl_texture_usehires since it's unused now
Browse files Browse the repository at this point in the history
GLTEXMNU_ENABLEHIRES in language.csv is unused too
  • Loading branch information
landfillbaby committed Apr 5, 2020
1 parent 5490ffc commit 2c1a42a
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 12 deletions.
1 change: 0 additions & 1 deletion src/rendering/gl/system/gl_framebuffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
EXTERN_CVAR (Bool, vid_vsync)
EXTERN_CVAR(Bool, r_drawvoxels)
EXTERN_CVAR(Int, gl_tonemap)
EXTERN_CVAR(Bool, gl_texture_usehires)

void gl_LoadExtensions();
void gl_PrintStartupLog();
Expand Down
2 changes: 0 additions & 2 deletions src/rendering/hwrenderer/textures/hw_material.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@
#include "hw_ihwtexture.h"
#include "hw_material.h"

EXTERN_CVAR(Bool, gl_texture_usehires)

//===========================================================================
//
// Quick'n dirty image rescaling.
Expand Down
5 changes: 0 additions & 5 deletions src/rendering/hwrenderer/utility/hw_cvars.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,6 @@ CUSTOM_CVAR(Int, gl_texture_filter, 4, CVAR_ARCHIVE|CVAR_GLOBALCONFIG|CVAR_NOINI
screen->TextureFilterChanged();
}

CUSTOM_CVAR(Bool, gl_texture_usehires, true, CVAR_ARCHIVE|CVAR_NOINITCALL)
{
TexMan.FlushAll();
}

CVAR(Bool, gl_precache, false, CVAR_ARCHIVE)

//==========================================================================
Expand Down
1 change: 0 additions & 1 deletion src/rendering/hwrenderer/utility/hw_cvars.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ EXTERN_CVAR(Bool, gl_texture)
EXTERN_CVAR(Int, gl_texture_filter)
EXTERN_CVAR(Float, gl_texture_filter_anisotropic)
EXTERN_CVAR(Int, gl_texture_format)
EXTERN_CVAR(Bool, gl_texture_usehires)
EXTERN_CVAR(Bool, gl_usefb)

EXTERN_CVAR(Int, gl_weaponlight)
Expand Down
2 changes: 0 additions & 2 deletions src/rendering/swrenderer/textures/r_swtexture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@
#include "m_alloc.h"
#include "imagehelpers.h"

EXTERN_CVAR(Bool, gl_texture_usehires)


FSoftwareTexture *FTexture::GetSoftwareTexture()
{
Expand Down
1 change: 0 additions & 1 deletion wadsrc/static/menudef.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2534,7 +2534,6 @@ OptionMenu "GLTextureGLOptions" protected
Title "$GLTEXMNU_TITLE"
Option "$GLTEXMNU_TEXFILTER", gl_texture_filter, "FilterModes"
Option "$GLTEXMNU_ANISOTROPIC", gl_texture_filter_anisotropic, "Anisotropy"
Option "$GLTEXMNU_ENABLEHIRES", gl_texture_usehires, "YesNo"

ifOption(MMX)
{
Expand Down

0 comments on commit 2c1a42a

Please sign in to comment.