From: Axel Isouard Date: Thu, 26 Jul 2012 07:49:44 +0000 (+0200) Subject: little edit X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=refs%2Fheads%2Fexidl%2Fshadercache;p=xonotic%2Fdarkplaces.git little edit --- diff --git a/gl_cache.c b/gl_cache.c index 0574fd75..52af4844 100644 --- a/gl_cache.c +++ b/gl_cache.c @@ -1,5 +1,15 @@ #include "gl_cache.h" +/* + * GL_Cache_Init() + * Look for each cached file, remove the non existing + * cached shaders. + */ void GL_Cache_Init(void) { + /* fssearch_t *c, *s; + char vabuf[1024]; + + va(vabuf, sizeof(vabuf), "%s%s", *fs_userdir ? fs_userdir : fs_basedir, "cache/*.bin"); + c = FS_Search(vabuf, 1, true);*/ }