summaryrefslogtreecommitdiff
path: root/progs
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-01-09 17:06:22 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-01-09 17:06:22 +0000
commit0fe7f406be7ffa8e849d9097e00a4d6229c138bd (patch)
treeb6284c1d86d03b90cb587e5b790fc174a7549f1c /progs
parentb58091a336d767bf82dbf12d6161997206a44bcf (diff)
include readtex.h instead of readtex.c (Marcello Magallon)
Diffstat (limited to 'progs')
-rw-r--r--progs/demos/cubemap.c2
-rw-r--r--progs/demos/readpix.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/progs/demos/cubemap.c b/progs/demos/cubemap.c
index ee0336547b..0a59b98983 100644
--- a/progs/demos/cubemap.c
+++ b/progs/demos/cubemap.c
@@ -40,7 +40,7 @@
#include <stdlib.h>
#include <string.h>
#include "GL/glut.h"
-#include "../util/readtex.c" /* a hack */
+#include "readtex.h"
static GLfloat Xrot = 0, Yrot = 0;
diff --git a/progs/demos/readpix.c b/progs/demos/readpix.c
index b36e3d1e64..71ce972354 100644
--- a/progs/demos/readpix.c
+++ b/progs/demos/readpix.c
@@ -11,7 +11,7 @@
#include <math.h>
#include <GL/glut.h>
-#include "../util/readtex.c" /* a hack, I know */
+#include "readtex.h"
#define IMAGE_FILE "../images/girl.rgb"