From 17638426b98b59caa41e3453e26d0525cc9875c1 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 13 Sep 2021 21:51:17 +0200 Subject: [PATCH] - removed the redundant gl_render_precise CVAR. The menu now uses gl_seamless directly without the redirection. --- src/common/rendering/hwrenderer/data/hw_cvars.cpp | 5 ----- wadsrc/static/menudef.txt | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/common/rendering/hwrenderer/data/hw_cvars.cpp b/src/common/rendering/hwrenderer/data/hw_cvars.cpp index 6faf39e0d..5c1b64359 100644 --- a/src/common/rendering/hwrenderer/data/hw_cvars.cpp +++ b/src/common/rendering/hwrenderer/data/hw_cvars.cpp @@ -69,11 +69,6 @@ CUSTOM_CVAR(Bool, gl_plane_reflection, true, CVAR_GLOBALCONFIG|CVAR_ARCHIVE) gl_plane_reflection_i = self; } -CUSTOM_CVAR(Bool, gl_render_precise, false, CVAR_ARCHIVE|CVAR_GLOBALCONFIG) -{ - gl_seamless=self; -} - CUSTOM_CVARD(Float, vid_gamma, 1.f, CVAR_ARCHIVE | CVAR_GLOBALCONFIG, "adjusts gamma component of gamma ramp") { if (self < 0) self = 1; diff --git a/wadsrc/static/menudef.txt b/wadsrc/static/menudef.txt index dca1c6de0..ce0e99548 100644 --- a/wadsrc/static/menudef.txt +++ b/wadsrc/static/menudef.txt @@ -2644,7 +2644,7 @@ OptionMenu "OpenGLOptions" protected Option "$GLPREFMNU_SPRBILLBOARD", gl_billboard_mode, "BillboardModes" Option "$GLPREFMNU_SPRBILLFACECAMERA", gl_billboard_faces_camera, "OnOff" Option "$GLPREFMNU_PARTICLESTYLE", gl_particles_style, "Particles" - Option "$GLPREFMNU_RENDERQUALITY", gl_render_precise, "Precision" + Option "$GLPREFMNU_RENDERQUALITY", gl_seamless, "Precision" StaticText " " Slider "$GLPREFMNU_MENUBLUR", gl_menu_blur, 0, 5.0, 0.5, 2 StaticText " "