1998-01-24 13:03:21 +00:00
|
|
|
|
|
|
|
/* Copyright (c) Mark J. Kilgard, 1997. */
|
|
|
|
|
|
|
|
/* This program is freely distributable without licensing fees
|
|
|
|
and is provided without guarantee or warrantee expressed or
|
|
|
|
implied. This program is -not- in the public domain. */
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef _TEXLOAD_H
|
|
|
|
#define _TEXLOAD_H
|
|
|
|
|
|
|
|
|
1998-04-22 13:21:26 +00:00
|
|
|
#include <GL/glut.h>
|
|
|
|
|
|
|
|
|
1998-04-21 17:02:27 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
1998-08-20 15:16:43 +00:00
|
|
|
extern GLubyte *read_alpha_texture(const char *name, int *width, int *height);
|
|
|
|
extern GLubyte * read_rgb_texture(const char *name, int *width, int *height);
|
1998-01-24 13:03:21 +00:00
|
|
|
|
|
|
|
|
1998-04-21 17:02:27 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
1998-01-24 13:03:21 +00:00
|
|
|
#endif /* _TEXLOAD_H */
|