fix mac build

This commit is contained in:
Erwin Coumans
2014-08-20 17:24:12 -07:00
parent cb55f7df30
commit ed637a6942
3 changed files with 6 additions and 3 deletions

View File

@@ -24,7 +24,11 @@ subject to the following restrictions:
//#include <OpenGL/gl.h>
//#include <OpenGL/glu.h>
//#import <Cocoa/Cocoa.h>
#ifdef USE_OPENGL2
#include <OpenGL/gl.h>
#else
#include <OpenGL/gl3.h>
#endif
#else
#include "GlewWindows/GL/glew.h"