]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fixed two warnings
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 6 Sep 2009 09:47:42 +0000 (09:47 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 6 Sep 2009 09:47:42 +0000 (09:47 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9165 d7cf8633-e32d-0410-b094-e92efae38249

gl_rmain.c

index 4e9c47adc0da83338ca90d9d469c868afa103c57..8ce6667e9a6a5eecd6244c4e46da15180ca2530b 100644 (file)
@@ -2671,7 +2671,7 @@ typedef struct
 static anim_cache_t r_animCache[MAX_EDICTS];
 static int r_numAnimCache;
 
-void R_EmptyAnimCache()
+void R_EmptyAnimCache(void)
 {
        int idx;
        for (idx=0 ; idx<r_numAnimCache ; idx++)
@@ -2713,7 +2713,7 @@ void R_ResizeAnimCache(const int cacheIdx, const int numVerts)
 //     Con_Printf("allocated cache for %i (%f KB)\n", cacheIdx, (arraySize*sizeof(float)*4)/1024.0f);
 }
 
-void R_RunAnimCache()
+void R_RunAnimCache(void)
 {
        int entIdx, cacheIdx;
        entity_render_t *ent;