summaryrefslogtreecommitdiff
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 0000000000..2156383ec2
--- /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