added a buch of

#ifdef __APPLE__
#include <OpenGL/gl.h>
#else
#include <GL/gl.h>
#endif
(also for <GL/glu.h>)

so that people don't have to create symlinks in
/System/Library/Frameworks/OpenGL.framework on Mac OS X
(Charles Wardlaw)
This commit is contained in:
Stefan Gartner
2003-01-07 00:18:59 +00:00
parent 3a0c7e4a8a
commit 3531f874e0
8 changed files with 39 additions and 7 deletions

View File

@@ -7,7 +7,11 @@
#ifdef WIN32
#include <windows.h>
#endif // WIN32
#include "GL/gl.h"
#ifdef __APPLE__
#include <OpenGL/gl.h>
#else
#include <GL/gl.h>
#endif
#include "RAS_Rect.h"
#include "RAS_TexVert.h"