include readtex.h instead of readtex.c (Marcello Magallon)
authorBrian Paul <brian.paul@tungstengraphics.com>
Sun, 9 Jan 2005 17:06:22 +0000 (17:06 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Sun, 9 Jan 2005 17:06:22 +0000 (17:06 +0000)
progs/demos/cubemap.c
progs/demos/readpix.c

index ee0336547bbdbcd56fbec09a333b48fc236f7ea6..0a59b9898356ce35c85b451f91bc7c36f5afe13f 100644 (file)
@@ -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;
index b36e3d1e643e997a11e2d8abf666228d07e230dd..71ce9723543973f47df16a7100a6de683e93a845 100644 (file)
@@ -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"