From: havoc Date: Thu, 12 Nov 2009 13:00:41 +0000 (+0000) Subject: always VIEWCACHEDYNAMIC X-Git-Tag: xonotic-v0.1.0preview~1166 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=915de17c4b6a8e8792c26160479c012ced28c17a;p=xonotic%2Fdarkplaces.git always VIEWCACHEDYNAMIC git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9476 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/client.h b/client.h index 26e69bf2..ac5e866d 100644 --- 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;