#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
#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"
#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"
#endif
#include <GL/glut.h>
-#include "readtex.c"
+#include "readtex.h"
#ifdef XMESA
#include "GL/xmesa.h"
#define GL_GLEXT_PROTOTYPES
#include "GL/glut.h"
-#include "readtex.c" /* a hack, I know */
+#include "readtex.h"
#define IMAGE_FILE "../images/girl.rgb"