From 8be0763b241d161604c351684c74532a716ec17c Mon Sep 17 00:00:00 2001 From: havoc Date: Mon, 24 Feb 2014 23:44:45 +0000 Subject: [PATCH] don't skip nearclip plane in R_CullBox as it is possible that the view is in ortho mode git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12053 d7cf8633-e32d-0410-b094-e92efae38249 --- gl_rmain.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/gl_rmain.c b/gl_rmain.c index 1ebe76c7..db34414d 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -4493,9 +4493,6 @@ int R_CullBox(const vec3_t mins, const vec3_t maxs) return false; for (i = 0;i < r_refdef.view.numfrustumplanes;i++) { - // skip nearclip plane, it often culls portals when you are very close, and is almost never useful - if (i == 4) - continue; p = r_refdef.view.frustum + i; switch(p->signbits) { -- 2.39.2