mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-16 09:31:14 +00:00
- make GL version of line distance culling use a separate CVAR, which, for now, is turned off.
This commit is contained in:
parent
373870787f
commit
47c51f437e
1 changed files with 2 additions and 2 deletions
|
@ -77,11 +77,11 @@ void GLSceneDrawer::UnclipSubsector(subsector_t *sub)
|
|||
//
|
||||
//==========================================================================
|
||||
|
||||
EXTERN_CVAR(Float, r_line_distance_cull)
|
||||
CVAR(Float, gl_line_distance_cull, 0.0, 0 /*CVAR_ARCHIVE|CVAR_GLOBALCONFIG*/) // this is deactivated, for now
|
||||
|
||||
inline bool IsDistanceCulled(seg_t *line)
|
||||
{
|
||||
double dist3 = r_line_distance_cull * r_line_distance_cull;
|
||||
double dist3 = gl_line_distance_cull * gl_line_distance_cull;
|
||||
if (dist3 <= 0.0)
|
||||
return false;
|
||||
|
||||
|
|
Loading…
Reference in a new issue