summaryrefslogtreecommitdiffstats
path: root/progs
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-01-09 17:15:41 +0000
committerBrian Paul <[email protected]>2005-01-09 17:15:41 +0000
commit575d24a5ffb84b9122a3d3d85d138a7bbe06284b (patch)
treea976297f611e2ac2d31441a72dadc46933785fbc /progs
parent0fe7f406be7ffa8e849d9097e00a4d6229c138bd (diff)
include readtex.h instead of readtex.c
Diffstat (limited to 'progs')
-rw-r--r--progs/demos/isosurf.c2
-rw-r--r--progs/demos/lodbias.c2
-rw-r--r--progs/demos/pixeltex.c2
-rw-r--r--progs/demos/teapot.c2
-rw-r--r--progs/demos/winpos.c2
5 files changed, 5 insertions, 5 deletions
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 <GL/glut.h>
#include <GL/glext.h>
-#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 <string.h>
#include <GL/glut.h>
#include <GL/glext.h>
-#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 <GL/glut.h>
-#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"