mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-04-22 15:47:19 +00:00
- Enabled gl_sprite_distance_cull and added slider to menu.
This commit is contained in:
parent
ba835a14a4
commit
6879817cd8
2 changed files with 2 additions and 1 deletions
|
@ -682,7 +682,7 @@ void GLSprite::PerformSpriteClipAdjustment(AActor *thing, const DVector2 &thingp
|
|||
//
|
||||
//==========================================================================
|
||||
|
||||
CVAR(Float, gl_sprite_distance_cull, 0, CVAR_ARCHIVE | CVAR_GLOBALCONFIG)
|
||||
CVAR(Float, gl_sprite_distance_cull, 4000.0, CVAR_ARCHIVE | CVAR_GLOBALCONFIG)
|
||||
|
||||
inline bool IsDistanceCulled(AActor* thing)
|
||||
{
|
||||
|
|
|
@ -2595,6 +2595,7 @@ OptionMenu "OpenGLOptions" protected
|
|||
Option "$GLPREFMNU_PARTICLESTYLE", gl_particles_style, "Particles"
|
||||
Option "$GLPREFMNU_RENDERQUALITY", gl_render_precise, "Precision"
|
||||
StaticText " "
|
||||
ScaleSlider "$DSPLYMNU_SPRITECULL", gl_sprite_distance_cull, 0.0, 8000.0, 500.0, "Disabled"
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue