mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-04-22 15:47:19 +00:00
- Enabled gl_line_distance_cull and added slider to menu.
This commit is contained in:
parent
2b27cb0bba
commit
d47af90a56
2 changed files with 3 additions and 1 deletions
|
@ -77,7 +77,7 @@ void GLSceneDrawer::UnclipSubsector(subsector_t *sub)
|
|||
//
|
||||
//==========================================================================
|
||||
|
||||
CVAR(Float, gl_line_distance_cull, 0.0, CVAR_ARCHIVE|CVAR_GLOBALCONFIG)
|
||||
CVAR(Float, gl_line_distance_cull, 8000.0, CVAR_ARCHIVE|CVAR_GLOBALCONFIG)
|
||||
|
||||
inline bool IsDistanceCulled(seg_t *line)
|
||||
{
|
||||
|
|
|
@ -2595,6 +2595,8 @@ OptionMenu "OpenGLOptions" protected
|
|||
Option "$GLPREFMNU_PARTICLESTYLE", gl_particles_style, "Particles"
|
||||
Option "$GLPREFMNU_RENDERQUALITY", gl_render_precise, "Precision"
|
||||
StaticText " "
|
||||
ScaleSlider "$DSPLYMNU_LINECULL", gl_line_distance_cull, 0.0, 16000.0, 1000.0, "Disabled"
|
||||
StaticText " "
|
||||
Slider "$GLPREFMNU_MENUBLUR", gl_menu_blur, 0, 5.0, 0.5, 2
|
||||
StaticText " "
|
||||
Option "$GLPREFMNU_MULTISAMPLE", gl_multisample, "Multisample"
|
||||
|
|
Loading…
Reference in a new issue