include readtex.h instead of readtex.c
authorBrian Paul <brian.paul@tungstengraphics.com>
Sun, 9 Jan 2005 17:15:41 +0000 (17:15 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Sun, 9 Jan 2005 17:15:41 +0000 (17:15 +0000)
progs/demos/isosurf.c
progs/demos/lodbias.c
progs/demos/pixeltex.c
progs/demos/teapot.c
progs/demos/winpos.c

index 555757cc42c315b30853a53a652df882275cb573..0710bc6047bad5a82dbfdff76e9f972d44e38b69 100644 (file)
@@ -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
index a9b5312fd75533ac17c3a7d452946da4ff76486d..a4db22e26e43484a27819659278fb495ef143273 100644 (file)
@@ -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"
 
index 1b044445a387f3a3be16c545500676c8b17bf55b..03e653a45439b7507290737c1b14e638e3ee6f21 100644 (file)
@@ -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"
 
index dd2eadf352fbc429a678434d028277231dc120c0..67a64f99373957c256d5689c077f58ba7e00b869 100644 (file)
@@ -16,7 +16,7 @@
 #endif
 
 #include <GL/glut.h>
-#include "readtex.c"
+#include "readtex.h"
 
 #ifdef XMESA
 #include "GL/xmesa.h"
index 62504198dd637d4780d02f28a18cf233e9dba3b4..2ee1df69fbc0a70e986d26351cc65f2ad3ada99d 100644 (file)
@@ -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"