mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-02-02 05:41:49 +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
4e968d9c4c
commit
2395defccd
1 changed files with 2 additions and 2 deletions
|
@ -75,11 +75,11 @@ void HWDrawInfo::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)
|
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)
|
if (dist3 <= 0.0)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue