glew: don't pull in GL/glu.h

This commit is contained in:
Chris Wilson 2010-03-07 16:59:57 +00:00
parent 473e006ad6
commit 4083f40fbd

View file

@ -202,7 +202,6 @@ typedef _W64 int ptrdiff_t;
#define APIENTRY
#define GLEWAPI extern
/* <glu.h> */
#ifndef GLAPI
#define GLAPI extern
#endif
@ -1129,15 +1128,6 @@ GLAPI void GLAPIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei heigh
#endif /* GL_VERSION_1_1 */
/* ---------------------------------- GLU ---------------------------------- */
/* this is where we can safely include GLU */
#if defined(__APPLE__) && defined(__MACH__)
#include <OpenGL/glu.h>
#else
#include <GL/glu.h>
#endif
/* ----------------------------- GL_VERSION_1_2 ---------------------------- */
#ifndef GL_VERSION_1_2