30 lines
661 B
C
30 lines
661 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
|
|
|
|
|
|
#include <GL/glut.h>
|
|
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
|
|
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 */
|