Fix bug #730: Path of OpenGL headers is different on MacOS

This commit is contained in:
Christoph Hertzberg 2014-01-29 22:05:39 +01:00
parent a7621809fe
commit febfc7b9b4

View File

@ -11,7 +11,12 @@
#define EIGEN_OPENGL_MODULE
#include <Eigen/Geometry>
#include <GL/gl.h>
#if defined(__APPLE_CC__)
#include <OpenGL/gl.h>
#else
#include <GL/gl.h>
#endif
namespace Eigen {