]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_rmain.c
moved pvs handling from R_Q3BSP_DrawFaces to R_WorldVisibility (now handles q1bsp...
[xonotic/darkplaces.git] / gl_rmain.c
index ccf6be3f2a101c2063e1af4ee32687819bfccb5f..b73e5fbc57a96edf73876de051692c1342e230e1 100644 (file)
@@ -28,6 +28,10 @@ int r_framecount;
 // used for visibility checking
 qbyte r_pvsbits[(MAX_MAP_LEAFS+7)>>3];
 
+// TODO: dynamic resize?  65536 seems enough because q1bsp can't have more
+// than 32768, and q3bsp compilers have more like a 4096 limit
+qbyte r_worldsurfacevisible[MAX_MAP_LEAFS];
+
 mplane_t frustum[4];
 
 matrix4x4_t r_identitymatrix;