From: Brian Paul Date: Sun, 9 Jan 2005 17:15:41 +0000 (+0000) Subject: include readtex.h instead of readtex.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=575d24a5ffb84b9122a3d3d85d138a7bbe06284b;p=mesa.git include readtex.h instead of readtex.c --- diff --git a/progs/demos/isosurf.c b/progs/demos/isosurf.c index 555757cc42c..0710bc6047b 100644 --- a/progs/demos/isosurf.c +++ b/progs/demos/isosurf.c @@ -36,7 +36,7 @@ #define GL_GLEXT_PROTOTYPES #include "GL/glut.h" -#include "readtex.c" /* I know, this is a hack. KW: me too. */ +#include "readtex.h" #define TEXTURE_FILE "../images/reflect.rgb" #define LIT 0x00000001 diff --git a/progs/demos/lodbias.c b/progs/demos/lodbias.c index a9b5312fd75..a4db22e26e4 100644 --- a/progs/demos/lodbias.c +++ b/progs/demos/lodbias.c @@ -34,7 +34,7 @@ #include #include -#include "readtex.c" /* I know, this is a hack. */ +#include "readtex.h" #define TEXTURE_FILE "../images/girl.rgb" diff --git a/progs/demos/pixeltex.c b/progs/demos/pixeltex.c index 1b044445a38..03e653a4543 100644 --- a/progs/demos/pixeltex.c +++ b/progs/demos/pixeltex.c @@ -56,7 +56,7 @@ #include #include #include -#include "readtex.c" /* I know, this is a hack. */ +#include "readtex.h" #define TEXTURE_FILE "../images/girl.rgb" diff --git a/progs/demos/teapot.c b/progs/demos/teapot.c index dd2eadf352f..67a64f99373 100644 --- a/progs/demos/teapot.c +++ b/progs/demos/teapot.c @@ -16,7 +16,7 @@ #endif #include -#include "readtex.c" +#include "readtex.h" #ifdef XMESA #include "GL/xmesa.h" diff --git a/progs/demos/winpos.c b/progs/demos/winpos.c index 62504198dd6..2ee1df69fbc 100644 --- a/progs/demos/winpos.c +++ b/progs/demos/winpos.c @@ -14,7 +14,7 @@ #define GL_GLEXT_PROTOTYPES #include "GL/glut.h" -#include "readtex.c" /* a hack, I know */ +#include "readtex.h" #define IMAGE_FILE "../images/girl.rgb"