]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
writing a GLSL caching feature, will create a file for each compiled shader, and...
authorAxel Isouard <axel.isouard@epitech.eu>
Wed, 25 Jul 2012 10:46:37 +0000 (12:46 +0200)
committerAxel Isouard <axel.isouard@epitech.eu>
Wed, 25 Jul 2012 10:46:37 +0000 (12:46 +0200)
gl_cache.c [new file with mode: 0644]
gl_cache.h [new file with mode: 0644]

diff --git a/gl_cache.c b/gl_cache.c
new file mode 100644 (file)
index 0000000..0574fd7
--- /dev/null
@@ -0,0 +1,5 @@
+#include "gl_cache.h"
+
+void GL_Cache_Init(void)
+{
+}
diff --git a/gl_cache.h b/gl_cache.h
new file mode 100644 (file)
index 0000000..dde2142
--- /dev/null
@@ -0,0 +1,10 @@
+#define GL_CACHE_VERSION        1
+
+typedefstruct gl_cache_header_s
+{
+  int version;
+  int crc;
+  int length;
+} gl_cache_header_t;
+
+void GL_Cache_Init(void);