diff options
Diffstat (limited to 'xc/extras/Mesa/util/readtex.h')
-rw-r--r-- | xc/extras/Mesa/util/readtex.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/xc/extras/Mesa/util/readtex.h b/xc/extras/Mesa/util/readtex.h new file mode 100644 index 000000000..8e544f1fb --- /dev/null +++ b/xc/extras/Mesa/util/readtex.h @@ -0,0 +1,24 @@ +/* readtex.h */ + +#ifndef READTEX_H +#define READTEX_H + + +#include <GL/gl.h> + + +extern GLboolean +LoadRGBMipmaps( const char *imageFile, GLint intFormat ); + + +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 |