From: Brian Paul Date: Sun, 9 Jan 2005 17:15:41 +0000 (+0000) Subject: include readtex.h instead of readtex.c X-Git-Tag: 062012170305~23440 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=575d24a5ffb84b9122a3d3d85d138a7bbe06284b;p=profile%2Fivi%2Fmesa.git include readtex.h instead of readtex.c --- diff --git a/progs/demos/isosurf.c b/progs/demos/isosurf.c index 555757c..0710bc6 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 a9b5312..a4db22e 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 1b04444..03e653a 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 dd2eadf..67a64f9 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 6250419..2ee1df6 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"