]> git.mxchange.org Git - flightgear.git/blob - src/Objects/texload.h
Add a function declaration
[flightgear.git] / src / Objects / texload.h
1
2 /* Copyright (c) Mark J. Kilgard, 1997.  */
3
4 /* This program is freely distributable without licensing fees 
5    and is provided without guarantee or warrantee expressed or 
6    implied. This program is -not- in the public domain. */
7
8
9 #ifndef _TEXLOAD_H
10 #define _TEXLOAD_H
11
12
13 #ifdef HAVE_CONFIG_H
14 #  include <config.h>
15 #endif
16
17 #ifdef HAVE_WINDOWS_H
18 #  include <windows.h>
19 #endif
20
21 #include GLUT_H
22
23
24 #ifdef __cplusplus                                                          
25 extern "C" {                            
26 #endif                                   
27
28
29 extern GLubyte *read_alpha_texture(const char *name, int *width, int *height);
30 extern GLubyte *read_rgb_texture(const char *name, int *width, int *height);
31 extern GLubyte *read_raw_texture(const char *name, int *width, int *height);
32 extern GLubyte *read_r8_texture(const char *name, int *width, int *height);
33
34
35 #ifdef __cplusplus
36 }
37 #endif
38
39
40 #endif /* _TEXLOAD_H */