include readtex.h instead of readtex.c
This commit is contained in:
@@ -36,7 +36,7 @@
|
|||||||
#define GL_GLEXT_PROTOTYPES
|
#define GL_GLEXT_PROTOTYPES
|
||||||
#include "GL/glut.h"
|
#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 TEXTURE_FILE "../images/reflect.rgb"
|
||||||
|
|
||||||
#define LIT 0x00000001
|
#define LIT 0x00000001
|
||||||
|
@@ -34,7 +34,7 @@
|
|||||||
#include <GL/glut.h>
|
#include <GL/glut.h>
|
||||||
#include <GL/glext.h>
|
#include <GL/glext.h>
|
||||||
|
|
||||||
#include "readtex.c" /* I know, this is a hack. */
|
#include "readtex.h"
|
||||||
|
|
||||||
#define TEXTURE_FILE "../images/girl.rgb"
|
#define TEXTURE_FILE "../images/girl.rgb"
|
||||||
|
|
||||||
|
@@ -56,7 +56,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <GL/glut.h>
|
#include <GL/glut.h>
|
||||||
#include <GL/glext.h>
|
#include <GL/glext.h>
|
||||||
#include "readtex.c" /* I know, this is a hack. */
|
#include "readtex.h"
|
||||||
|
|
||||||
#define TEXTURE_FILE "../images/girl.rgb"
|
#define TEXTURE_FILE "../images/girl.rgb"
|
||||||
|
|
||||||
|
@@ -16,7 +16,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <GL/glut.h>
|
#include <GL/glut.h>
|
||||||
#include "readtex.c"
|
#include "readtex.h"
|
||||||
|
|
||||||
#ifdef XMESA
|
#ifdef XMESA
|
||||||
#include "GL/xmesa.h"
|
#include "GL/xmesa.h"
|
||||||
|
@@ -14,7 +14,7 @@
|
|||||||
#define GL_GLEXT_PROTOTYPES
|
#define GL_GLEXT_PROTOTYPES
|
||||||
#include "GL/glut.h"
|
#include "GL/glut.h"
|
||||||
|
|
||||||
#include "readtex.c" /* a hack, I know */
|
#include "readtex.h"
|
||||||
|
|
||||||
#define IMAGE_FILE "../images/girl.rgb"
|
#define IMAGE_FILE "../images/girl.rgb"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user