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:
@@ -67,8 +67,13 @@
|
||||
#ifdef WIN32
|
||||
#include <windows.h>
|
||||
#endif // WIN32
|
||||
#include "GL/gl.h"
|
||||
#include "GL/glu.h"
|
||||
#ifdef __APPLE__
|
||||
#include <OpenGL/gl.h>
|
||||
#include <OpenGL/glu.h>
|
||||
#else
|
||||
#include <GL/gl.h>
|
||||
#include <GL/glu.h>
|
||||
#endif
|
||||
|
||||
static Image *fCurpage=0;
|
||||
static int fCurtile=0, fCurmode=0, fCurTileXRep=0, fCurTileYRep=0;
|
||||
|
@@ -39,7 +39,11 @@
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
#ifdef __APPLE__
|
||||
#include <OpenGL/gl.h>
|
||||
#else
|
||||
#include <GL/gl.h>
|
||||
#endif
|
||||
#include <iostream>
|
||||
|
||||
#include "GPC_RenderTools.h"
|
||||
|
Reference in New Issue
Block a user