aboutsummaryrefslogtreecommitdiffstats
path: root/progs/util/readtex.h
blob: 8e544f1fb826af1e775122c29acecd81629d6eb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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