]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
little edit exidl/shadercache
authorAxel Isouard <axel.isouard@epitech.eu>
Thu, 26 Jul 2012 07:49:44 +0000 (09:49 +0200)
committerAxel Isouard <axel.isouard@epitech.eu>
Thu, 26 Jul 2012 07:49:44 +0000 (09:49 +0200)
gl_cache.c

index 0574fd75e3876fb89d9a027ed691de1c07935d8c..52af48448fd8b5f2e6f237939d4dfcacc53385b4 100644 (file)
@@ -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);*/
 }