glbuild: tell gl.h not to include the system's glext.h

We pack our own copy of glext.h to avoid build breakages on older environments,
and having gl.h include its own was defeating all that.

git-svn-id: https://svn.eduke32.com/eduke32@2080 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
plagman 2011-10-23 05:02:57 +00:00
parent aae60f64c2
commit 9018359a9e

View file

@ -5,6 +5,9 @@
#include <windows.h>
#endif
// Tell gl.h to not include glext.h, we'll include our own copy in a minute
#define GL_GLEXT_LEGACY
#if defined(__APPLE__)
# include <OpenGL/gl.h>
# include <OpenGL/glu.h>