#include "Config.h"
#ifndef OPENGLHEADERS_H_
#define OPENGLHEADERS_H_

#ifdef MACOSX
# if __MAC_OS_X_VERSION_MAX_ALLOWED >= __MAC_OS_X_VERSION_10_9
#  include <OpenGL/glu.h>
#  ifndef GL_RGBA32F
#   define GL_RGBA32F GL_RGBA32F_ARB
#  endif
# elif __MAC_OS_X_VERSION_MAX_ALLOWED >= 1070
#  include <OpenGL/gl3.h>
#  include <OpenGL/glu.h>
# else
//#include <GL/glew.h>
#  include <OpenGL/gl.h>
#  include <OpenGL/glu.h>
#  define GL_RGBA32F 0x8814
# endif
#elif defined(WIN)
# include <GL/glew.h>
# include <GL/gl.h>
# include <GL/glu.h>
#else
# include <GL/glew.h>
# include <GL/gl.h>
# include <GL/glu.h>
#endif

#endif // OPENGLHEADERS_H_
