]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - client.h
always VIEWCACHEDYNAMIC
[xonotic/darkplaces.git] / client.h
index 26e69bf2857e0cc4eac53e0eda5793b75036a50a..ac5e866d4eae26906eb85fc99e2910dd8d859250 100644 (file)
--- a/client.h
+++ b/client.h
@@ -1553,10 +1553,8 @@ typedef struct r_refdef_view_s
 }
 r_refdef_view_t;
 
-#define VIEWCACHEDYNAMIC 1
 typedef struct r_refdef_viewcache_s
 {
-#ifdef VIEWCACHEDYNAMIC
        // updated by gl_main_newmap()
        int maxentities;
        int world_numclusters;
@@ -1576,13 +1574,6 @@ typedef struct r_refdef_viewcache_s
        unsigned char *world_surfacevisible;
        // if true, the view is currently in a leaf without pvs data
        qboolean world_novis;
-#else
-       unsigned char entityvisible[MAX_EDICTS+512+256];
-       unsigned char world_pvsbits[8192];
-       unsigned char world_leafvisible[65536];
-       unsigned char world_surfacevisible[262144];
-       qboolean world_novis;
-#endif
 }
 r_refdef_viewcache_t;