mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 09:21:36 +00:00
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:
parent
aae60f64c2
commit
9018359a9e
1 changed files with 3 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue