29 lines
660 B
C
29 lines
660 B
C
|
|
/* 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
|
|
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
|
|
#include <GL/glut.h>
|
|
|
|
extern GLubyte *read_alpha_texture(char *name, int *width, int *height);
|
|
extern GLubyte * read_rgb_texture(char *name, int *width, int *height);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
|
|
#endif /* _TEXLOAD_H */
|