summaryrefslogtreecommitdiffstats
path: root/progs/util/readtex.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-06-27 17:54:44 +0000
committerBrian Paul <[email protected]>2000-06-27 17:54:44 +0000
commit92009554ce2e4c38c5abd4f09365ee8211570d4c (patch)
treed71416d6cf8cf15640966e62cba6672716e4dc5a /progs/util/readtex.h
parentdbd52e50ff958d6e5c38b27f4fade701adb51834 (diff)
added LoadRGBMipmaps2()
Diffstat (limited to 'progs/util/readtex.h')
-rw-r--r--progs/util/readtex.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/progs/util/readtex.h b/progs/util/readtex.h
index 2156383ec29..8e544f1fb82 100644
--- a/progs/util/readtex.h
+++ b/progs/util/readtex.h
@@ -7,11 +7,18 @@
#include <GL/gl.h>
-extern GLboolean LoadRGBMipmaps( const char *imageFile, GLint intFormat );
+extern GLboolean
+LoadRGBMipmaps( const char *imageFile, GLint intFormat );
-extern GLubyte *LoadRGBImage( const char *imageFile,
- GLint *width, GLint *height, GLenum *format );
+extern GLboolean
+LoadRGBMipmaps2( const char *imageFile, GLenum target,
+ GLint intFormat, GLint *width, GLint *height );
+
+
+extern GLubyte *
+LoadRGBImage( const char *imageFile,
+ GLint *width, GLint *height, GLenum *format );
#endif