summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--progs/util/readtex.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/progs/util/readtex.h b/progs/util/readtex.h
new file mode 100644
index 00000000000..2156383ec29
--- /dev/null
+++ b/progs/util/readtex.h
@@ -0,0 +1,17 @@
+/* readtex.h */
+
+#ifndef READTEX_H
+#define READTEX_H
+
+
+#include <GL/gl.h>
+
+
+extern GLboolean LoadRGBMipmaps( const char *imageFile, GLint intFormat );
+
+
+extern GLubyte *LoadRGBImage( const char *imageFile,
+ GLint *width, GLint *height, GLenum *format );
+
+
+#endif