summaryrefslogtreecommitdiff
path: root/src/renderergl2/tr_bsp.c
diff options
context:
space:
mode:
authorSmileTheory <SmileTheory@gmail.com>2014-03-19 17:59:07 -0700
committerTim Angus <tim@ngus.net>2014-06-17 17:43:42 +0100
commitba44931c368a5376ff26e97e4d1f25a9a7ae9976 (patch)
tree6fa2228ab9f42f47ff8bdff132595fde8a6d4300 /src/renderergl2/tr_bsp.c
parent4b1c828f2ee6a24934630408c7b95669555d2092 (diff)
#6095: OpenGL2: Use areamask and leaf cluster for PVS when VIS is missing.
Diffstat (limited to 'src/renderergl2/tr_bsp.c')
-rw-r--r--src/renderergl2/tr_bsp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/renderergl2/tr_bsp.c b/src/renderergl2/tr_bsp.c
index 742d6b57..06075d7b 100644
--- a/src/renderergl2/tr_bsp.c
+++ b/src/renderergl2/tr_bsp.c
@@ -601,8 +601,6 @@ static void R_LoadVisibility( lump_t *l ) {
byte *buf;
len = ( s_worldData.numClusters + 63 ) & ~63;
- s_worldData.novis = ri.Hunk_Alloc( len, h_low );
- Com_Memset( s_worldData.novis, 0xff, len );
len = l->filelen;
if ( !len ) {