]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
reduce gl_rmain size a bit
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 11 Nov 2009 19:54:45 +0000 (19:54 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 11 Nov 2009 19:54:45 +0000 (19:54 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9469 d7cf8633-e32d-0410-b094-e92efae38249

gl_rmain.c

index a202373c69f496cd9e6b130b01f24eb41101bc14..92a5915ec13dea50a3013fb798a0035832a12dfe 100644 (file)
@@ -1717,7 +1717,7 @@ typedef struct r_glsl_permutation_s
 }
 r_glsl_permutation_t;
 
-#define SHADERPERMUTATION_HASHSIZE 4096
+#define SHADERPERMUTATION_HASHSIZE 256
 
 /// information about each possible shader permutation
 r_glsl_permutation_t *r_glsl_permutationhash[SHADERMODE_COUNT][SHADERPERMUTATION_HASHSIZE];
@@ -3293,7 +3293,7 @@ r_animcache_entity_t;
 
 typedef struct r_animcache_s
 {
-       r_animcache_entity_t entity[MAX_EDICTS*2];
+       r_animcache_entity_t entity[MAX_EDICTS];
        int maxindex;
        int currentindex;
 }