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:
@@ -34,9 +34,13 @@
|
||||
#ifndef BIF_GL_H
|
||||
#define BIF_GL_H
|
||||
|
||||
#ifdef __APPLE__
|
||||
#include <OpenGL/gl.h>
|
||||
#include <OpenGL/glu.h>
|
||||
#else
|
||||
#include <GL/gl.h>
|
||||
#include <GL/glu.h>
|
||||
|
||||
#endif
|
||||
/*
|
||||
* these should be phased out. cpack should be replaced in
|
||||
* code with calls to glColor3ub, lrectwrite probably should
|
||||
|
Reference in New Issue
Block a user